From 04ac3f8acf30a428ad32fff4d5d02558e2eaf379 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 4 Feb 2023 12:40:35 +0100 Subject: [PATCH] [bugfix] Fix password change keys (#1416) --- web/source/settings/user/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/source/settings/user/settings.js b/web/source/settings/user/settings.js index 3ba9be935..df258d39c 100644 --- a/web/source/settings/user/settings.js +++ b/web/source/settings/user/settings.js @@ -108,7 +108,7 @@ function UserSettingsForm({ data }) { function PasswordChange() { const form = { oldPassword: useTextInput("old_password"), - newPassword: useTextInput("old_password", { + newPassword: useTextInput("new_password", { validator(val) { if (val != "" && val == form.oldPassword.value) { return "New password same as old password";