mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-11 17:48:44 -05:00
fix: redirect immediately after login to prevent form flash in app shell
This commit is contained in:
@@ -211,6 +211,7 @@ async function submit() {
|
||||
try {
|
||||
await authStore.login(credentials)
|
||||
authStore.setNeedsTotpPasscode(false)
|
||||
redirectIfSaved()
|
||||
} catch (e) {
|
||||
if (e.response?.data.code === 1017 && !credentials.totpPasscode) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user