We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9662ed commit d3a0fbfCopy full SHA for d3a0fbf
frontend/src/views/auth/Login.vue
@@ -608,7 +608,7 @@ onBeforeUnmount(() => {
608
const handleLogin = async () => {
609
try {
610
const valid = await formRef.value?.validate()
611
- if (!valid) return
+ if (valid !== true) return
612
613
loading.value = true
614
@@ -664,7 +664,7 @@ const handleLogin = async () => {
664
const handleRegister = async () => {
665
666
const valid = await registerFormRef.value?.validate()
667
668
669
670
0 commit comments