summaryrefslogtreecommitdiff
path: root/web/source/settings/user/settings.js
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-02-04 12:40:35 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-04 12:40:35 +0100
commit04ac3f8acf30a428ad32fff4d5d02558e2eaf379 (patch)
treef98882d84c7e66c3ea7ba5206a6523b11df8ea78 /web/source/settings/user/settings.js
parentfix cache startup (#1414) (diff)
downloadgotosocial-04ac3f8acf30a428ad32fff4d5d02558e2eaf379.tar.xz
[bugfix] Fix password change keys (#1416)
Diffstat (limited to 'web/source/settings/user/settings.js')
-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";