summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/source/settings/user/settings.js2
1 files changed, 1 insertions, 1 deletions
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";