Reload während Authentifizierung erlauben
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user