setup base jwt authentication

This commit is contained in:
2025-01-06 21:34:23 +01:00
parent e91d6540bf
commit cf15e3beb3
12 changed files with 425 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
import { action } from "@ember/object";
export default class ApplicationController extends Controller {
@service session;
@action
invalidateSession() {
this.session.invalidate();
}
}