mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 00:04:23 -04:00
fix: No Redirect On Valid Token (#6327)
This commit is contained in:
9
frontend/plugins/init-auth.client.ts
Normal file
9
frontend/plugins/init-auth.client.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export default defineNuxtPlugin({
|
||||
async setup() {
|
||||
const auth = useAuthBackend();
|
||||
|
||||
console.debug("Initializing auth plugin");
|
||||
await auth.getSession();
|
||||
console.debug("Auth plugin initialized");
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user