fix: incorrect parameters in UIWindowChangePassword

This commit is contained in:
KernelDeimos
2026-02-18 13:52:20 -05:00
parent 298f1cdb42
commit 2cdc211b29
+1 -1
View File
@@ -171,7 +171,7 @@ async function UIWindowChangePassword (options) {
$(el_window).find('.change-password-btn').addClass('disabled');
$(el_window).find('.current-password, .new-password, .confirm-new-password').attr('disabled', true);
let res = await doSubmit(current_password);
let res = await doSubmit({ current_password, new_password });
const data = res.ok ? await res.json().catch(() => ({})) : await res.json().catch(() => ({}));
if ( res.ok ) {