bb
This commit is contained in:
parent
c0f3d5cb68
commit
d1edad9965
49 changed files with 117 additions and 118 deletions
|
@ -9,8 +9,8 @@ function block_user() {
|
|||
if (isValidUsername) {
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.setRequestHeader('Authorization', 'xhr');
|
||||
xhr.open("post", "/settings/block");
|
||||
xhr.setRequestHeader('xhr', 'xhr');
|
||||
xhr.withCredentials=true;
|
||||
f=new FormData();
|
||||
f.append("username", username);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue