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,8 +54,10 @@ export default defineNuxtPlugin(() => {
description = "Deine Sitzung ist abgelaufen oder ungültig."
if (!requestPath.includes("/auth/login")) {
const auth = useAuthStore()
if (!auth.loading && auth.user) {
auth.expireSession()
}
}
break
case 403:
title = "Zugriff verweigert"