mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: fix change mail dialog password input
This commit is contained in:
1 file changed
+2
-2
@@ -47,8 +47,8 @@ async function changeMail() {
|
||||
try {
|
||||
await request.post('', {
|
||||
operation: 'change_mail',
|
||||
password: $('[name="password"]').val(),
|
||||
mail: $('[name="mail"]').val(),
|
||||
password: $('#change-mail-dialog [name="password"]').val(),
|
||||
mail: $('#change-mail-dialog [name="mail"]').val(),
|
||||
});
|
||||
} catch (err) {
|
||||
Notification.error(err.message);
|
||||
|
||||
Reference in new issue
Block a user