mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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 {
|
try {
|
||||||
await request.post('', {
|
await request.post('', {
|
||||||
operation: 'change_mail',
|
operation: 'change_mail',
|
||||||
password: $('[name="password"]').val(),
|
password: $('#change-mail-dialog [name="password"]').val(),
|
||||||
mail: $('[name="mail"]').val(),
|
mail: $('#change-mail-dialog [name="mail"]').val(),
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
Notification.error(err.message);
|
Notification.error(err.message);
|
||||||
|
|||||||
Reference in new issue
Block a user