Reload während Authentifizierung erlauben
This commit is contained in:
@@ -54,7 +54,9 @@ export default defineNuxtPlugin(() => {
|
|||||||
description = "Deine Sitzung ist abgelaufen oder ungültig."
|
description = "Deine Sitzung ist abgelaufen oder ungültig."
|
||||||
if (!requestPath.includes("/auth/login")) {
|
if (!requestPath.includes("/auth/login")) {
|
||||||
const auth = useAuthStore()
|
const auth = useAuthStore()
|
||||||
auth.expireSession()
|
if (!auth.loading && auth.user) {
|
||||||
|
auth.expireSession()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 403:
|
case 403:
|
||||||
|
|||||||
Reference in New Issue
Block a user