Commit 3f09f502 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: fix sign in again

parent 66e4317a
Pipeline #208134 passed with stages
in 7 minutes and 58 seconds
......@@ -213,9 +213,6 @@ function useValidateToken() {
shallow: true,
},
)
} else {
toast.error('Received invalid token.')
router.replace({ pathname: '/auth/sign-in' })
}
}, [router, auth, validateToken, status])
......
......@@ -227,9 +227,6 @@ function useValidateAuthCode() {
shallow: true,
},
)
} else {
toast.error('Received invalid token.')
router.replace({ pathname: '/auth/sign-in' })
}
}, [router, auth, validateToken, status])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment