Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

I can't set the config variables for ember-simple-auth

$
0
0

I have problems in setting the config variables for ember simple auth. i am currently working on removing the depreciation Mixins like ApplicationRouteMixin and i want to set up the variables like :

            routeAfterAuthentication: 'protected.index',
            routeAfterLogout: 'login',
            registerRoute: 'signup',
            routeIfAlreadyAuthenticated: 'protected.index',

currently, i added it inside the enviroument.js file but the problem is after i login successfully, the session does not redirect to the index route. so it doesn’t recognize routeAfterAuthentication value.

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles