fix: auth redirects and routing context issues

This commit is contained in:
2026-06-13 10:22:00 +02:00 Unverified
parent 1dbbfbaa2e
commit ca866404af
6 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ const handleSubmit = async () => {
if (res.ok) {
await syncUser()
await router.push('/dashboard')
await router.push('/me')
}
} catch (error: any) {
errorMessage.value = error.data?.message || 'Errore. Verifica la password attuale.'