mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-27 05:51:56 +00:00
feat: redirect to dashboard after login by default
This commit is contained in:
parent
319223dbbc
commit
0df661ab74
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
||||||
async function submit() {
|
async function submit() {
|
||||||
try {
|
try {
|
||||||
await login({applicationId, password: codeValueMobile});
|
await login({applicationId, password: codeValueMobile});
|
||||||
goto("/register");
|
goto("/dashboard");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue