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
View File
@@ -41,7 +41,6 @@ const handleVerifyOtp = async () => {
try {
const res = await verifyOtp({ email: email.value, code: otpCode.value })
await handleLoginSuccess(res.token)
router.push('/dashboard')
} catch (err: any) {
errorMessage.value = 'Codice OTP non valido o scaduto.'
} finally {