commit 04ac3f8acf30a428ad32fff4d5d02558e2eaf379
parent abe9447d282c8eee0e6d82aca7512edabbdb1f7f
Author: tobi <31960611+tsmethurst@users.noreply.github.com>
Date: Sat, 4 Feb 2023 12:40:35 +0100
[bugfix] Fix password change keys (#1416)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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";