Actually check password confirmation when first setting password...
This commit is contained in:
@@ -89,6 +89,10 @@
|
||||
},
|
||||
methods: {
|
||||
save() {
|
||||
if (password.newPassword !== password.confirmNewPassword) {
|
||||
this.error = "Password mismatch";
|
||||
return;
|
||||
}
|
||||
this.error = null;
|
||||
fetch("/api/password", {
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user