This commit is contained in:
Anthony Stirling
2023-09-14 13:32:49 +01:00
parent fc4feb2096
commit f6c4f08254
6 changed files with 93 additions and 41 deletions

View File

@@ -175,7 +175,7 @@
document.addEventListener("DOMContentLoaded", function() {
const form = document.querySelector('form[action="/change-password"]');
const form = document.querySelector('form[action="api/v1/user/change-password"]');
form.addEventListener('submit', function(event) {
const newPassword = document.getElementById('newPassword').value;