Fix missing value usage
This commit is contained in:
parent
f0961ccc3c
commit
77afe700ae
@ -12,7 +12,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
function formSubmit(e: MouseEvent) {
|
function formSubmit(e: MouseEvent) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
useSessionStore().login(login)
|
useSessionStore().login(login.value)
|
||||||
.then(x => {
|
.then(x => {
|
||||||
error.value = "";
|
error.value = "";
|
||||||
useRouter().replace("/dashboard");
|
useRouter().replace("/dashboard");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user