diff --git a/application/src/main/resources/templates/login_local.html b/application/src/main/resources/templates/login_local.html index a6021c6f1..3c6bd0eee 100644 --- a/application/src/main/resources/templates/login_local.html +++ b/application/src/main/resources/templates/login_local.html @@ -13,13 +13,15 @@ document.addEventListener("DOMContentLoaded", function () { const loginForm = document.getElementById("login-form"); loginForm.addEventListener("submit", function (event) { + const plainPasswordInput = document.getElementById("plainPassword"); const passwordInput = document.getElementById("password"); - const password = passwordInput.value; - passwordInput.value = encryptPassword(password); + passwordInput.value = encryptPassword(plainPasswordInput.value); }); }); + +
@@ -50,7 +52,7 @@
\ No newline at end of file