a bunch of stuff happened. I'll do better next commit...

This commit is contained in:
2026-10-09 08:24:28 -04:00
parent bf8ad6a858
commit 4bceed7cb9
27 changed files with 540 additions and 112 deletions
+8 -3
View File
@@ -52,11 +52,16 @@ $(document).ready(function () {
e.preventDefault();
$.post("./", $(this).serialize())
$.post("main.php", $(this).serialize())
.done(function () {
formSubmit({action: "./"});
window.location.assign('main.php');
})
.fail(function (response) {
createInputError(user_verify_password, response.status === 422
? 'Enter a nonempty password and matching confirmation.'
: 'Unable to change your password. Reload the page and try again.');
});
});
});
});
+2 -1
View File
@@ -56,6 +56,7 @@ $(document).ready(function () {
$(".btnForgot").on("click", function (e) {
e.preventDefault();
$("#reset_user_name").val($("#user_name").val().trim());
$("#reset-password").submit();
});
@@ -149,4 +150,4 @@ function createInputError(input, message = "", scroll = false) {
});
}
}
}