mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 19:01:01 +00:00
[bugfix] Fix password change keys (#1416)
This commit is contained in:
parent
abe9447d28
commit
04ac3f8acf
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue