work on jwt auth
Some checks failed
CI / Lint (push) Failing after 14m49s
CI / Test (push) Failing after 7m55s

This commit is contained in:
2025-01-08 16:49:27 +01:00
parent cf15e3beb3
commit feef600052
14 changed files with 103 additions and 18 deletions

View File

@@ -21,11 +21,11 @@ module.exports = function (environment) {
};
if (environment === 'development') {
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV.APP.LOG_RESOLVER = true;
ENV.APP.LOG_ACTIVE_GENERATION = true;
ENV.APP.LOG_TRANSITIONS = true;
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
ENV.APP.LOG_VIEW_LOOKUPS = true;
}
if (environment === 'test') {
@@ -44,5 +44,10 @@ module.exports = function (environment) {
// here you can enable a production-specific feature
}
ENV['ember-simple-auth'] = {
routeAfterAuthentication: 'authenticated.index',
routeAfterInvalidation: 'login',
};
return ENV;
};