diff --git a/nuxt4/app/composables/useAuthentik.ts b/nuxt4/app/composables/useAuthentik.ts index 00e079f..675fda0 100644 --- a/nuxt4/app/composables/useAuthentik.ts +++ b/nuxt4/app/composables/useAuthentik.ts @@ -86,6 +86,9 @@ export const useAuthentik = () => { } const checkSessionStatus = async () => { + // Solo ejecutar en el cliente + if (!import.meta.client) return + const toast = useToast() // Verificar si está offline primero