Prevent user setup form if passwords dont match

This commit is contained in:
Johannes Zellner
2026-03-18 09:00:34 +01:00
parent 3d55423deb
commit e15cd190b3
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ function validateForm() {
}
async function onSubmit() {
if (!form.value.reportValidity()) return;
if (!form.value.reportValidity() || !isFormValid.value) return;
busy.value = true;
formError.value = {};