diff --git a/scripts/account.js b/scripts/account.js index 5ed19d8..ff1df79 100644 --- a/scripts/account.js +++ b/scripts/account.js @@ -133,7 +133,7 @@ function handlePasswordChangeForm () { `; dialog("Change Password", body, async (result, form) => { if (result === "confirm") { - const result = await requestAPI("/auth/password", "POST", {password: form.get("new-password")}); + const result = await requestAPI("/auth/password", "POST", { password: form.get("new-password") }); if (result.status !== 200) { alert(result.error); }