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,14 +111,7 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||||||
function fail() {
|
function fail() {
|
||||||
// Then cry
|
// Then cry
|
||||||
select(null);
|
select(null);
|
||||||
if ( self.get('app.authenticationEnabled') && !self.get('app.isAuthenticationAdmin') )
|
self.transitionTo('projects');
|
||||||
{
|
|
||||||
self.send('logout');
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
self.transitionTo('projects');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue