Reload während Authentifizierung erlauben

This commit is contained in:
2026-06-02 11:47:45 +02:00
parent 363163f741
commit 8d821a6802

View File

@@ -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: