aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-05 10:48:15 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-05 10:48:15 +0530
commitbd0981867ba8e569e3e2c9b839548a189627df0a (patch)
treed68e1172f4c817a69ed42ebf3c190fcbe6713706 /src
parentafbf9fa4f665404c7128315e2b84f63376f1cdce (diff)
fixed register button still being disabled after password validation failurev0.0.5
Diffstat (limited to 'src')
-rw-r--r--src/views/Register.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/Register.vue b/src/views/Register.vue
index c8727d8..5260759 100644
--- a/src/views/Register.vue
+++ b/src/views/Register.vue
@@ -22,6 +22,7 @@ const register = async (e) => {
if (toRaw(password.value) !== toRaw(passwordConfirm.value)) {
toast.error('Password and confirm password do not match')
+ isLoading.value = false
return
}