Using ember-simple-auth redirecting


#1

Hi I am using ember-simple-auth for login everything is working good response from server is good and login is fine, but only thing is i am unable to redirect to dashboard page after login it remains in same page can anyone help me!

Thanks In Advance


#2

You can useENV[‘ember-simple-auth’] = { authenticationRoute: ‘login’, routeAfterAuthentication: ‘index’, routeIfAlreadyAuthenticated: ‘index’ };`


#3

thanks for you reply here is a link where i got my code for emberjs http://romulomachado.github.io/2015/09/28/using-ember-simple-auth-with-devise.html

after this i should be redirected to dashboard page

can you help me out


#4

you can follow this link https://github.com/simplabs/ember-simple-auth/issues/810