diff --git a/src/components/UpdateUserComponents/UpdateUserLayout.vue b/src/components/UpdateUserComponents/UpdateUserLayout.vue index 4d94d2f2457d708983cd3bb6b81527f49eccaf21..bc0de4f4828781d99da0623070b4ff4f995154bd 100644 --- a/src/components/UpdateUserComponents/UpdateUserLayout.vue +++ b/src/components/UpdateUserComponents/UpdateUserLayout.vue @@ -57,9 +57,6 @@ const handleConfirmPasswordInputEvent = (newValue: any) => { } const handleSubmit = async () => { - console.log(firstNameRef.value) - - let isValid samePasswords.value = (passwordRef.value === confirmPasswordRef.value) console.log(samePasswords.value) @@ -76,7 +73,7 @@ const handleSubmit = async () => { - // Check if the form is valid + if (form.checkValidity()) { if(samePasswords.value){ try {