mirror of
https://github.com/wowlikon/LiB.git
synced 2026-02-04 04:31:09 +00:00
Расширение фронтэнда
This commit is contained in:
@@ -110,11 +110,8 @@ $(document).ready(() => {
|
||||
$btn.prop("disabled", true).text("Меняем...");
|
||||
|
||||
try {
|
||||
await Api.request("/api/auth/me", {
|
||||
method: "PUT",
|
||||
body: JSON.stringify({
|
||||
password: newPass,
|
||||
}),
|
||||
await Api.put("/api/auth/me", {
|
||||
password: newPass,
|
||||
});
|
||||
|
||||
Utils.showToast("Пароль успешно изменен", "success");
|
||||
|
||||
Reference in New Issue
Block a user