mirror of https://github.com/rancher/ui.git
Send the user to projects if there are none
This commit is contained in:
parent
75d58dd79d
commit
709d1aa735
|
|
@ -111,15 +111,8 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|||
function fail() {
|
||||
// Then cry
|
||||
select(null);
|
||||
if ( self.get('app.authenticationEnabled') && !self.get('app.isAuthenticationAdmin') )
|
||||
{
|
||||
self.send('logout');
|
||||
}
|
||||
else
|
||||
{
|
||||
self.transitionTo('projects');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
activeProjectFromId: function(projectId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue