This commit is contained in:
Aevann1 2022-01-16 08:06:16 +02:00
parent c0f3d5cb68
commit d1edad9965
49 changed files with 117 additions and 118 deletions

View file

@ -8,8 +8,8 @@ function banModal(link, id, name) {
fd.append("formkey", formkey());
const xhr = new XMLHttpRequest();
xhr.setRequestHeader('Authorization', 'xhr');
xhr.open("POST", `/ban_user/${id}?form`, true);
xhr.setRequestHeader('xhr', 'xhr');
xhr.withCredentials = true;
xhr.onload = function(){