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

10
app/routes/login.js Normal file
View File

@@ -0,0 +1,10 @@
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default class LoginRoute extends Route {
@service session;
beforeModel(transition) {
this.get('session').prohibitAuthentication('index');
}
}