Send the user to projects if there are none

This commit is contained in:
Vincent Fiduccia 2015-05-01 15:30:55 -07:00
parent 75d58dd79d
commit 709d1aa735
1 changed files with 1 additions and 8 deletions

View File

@ -111,14 +111,7 @@ 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');
}
self.transitionTo('projects');
}
},