From 709d1aa7358ea37f88a5d56d85a4493d92fd2e74 Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Fri, 1 May 2015 15:30:55 -0700 Subject: [PATCH] Send the user to projects if there are none --- app/authenticated/route.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/authenticated/route.js b/app/authenticated/route.js index b58a5bed2..e49cc2571 100644 --- a/app/authenticated/route.js +++ b/app/authenticated/route.js @@ -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'); } },