This commit is contained in:
@@ -25,6 +25,7 @@ if(logmein()==="success"){
|
||||
<title>Jakach Login</title>
|
||||
<?php
|
||||
include "assets/components.php";
|
||||
print_csrf_script();
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
@@ -103,6 +104,7 @@ if(logmein()==="success"){
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded', // Form-like data
|
||||
'X-CSRF-Token': window.csrfToken,
|
||||
},
|
||||
body: new URLSearchParams({
|
||||
username: username, // Send username as form data
|
||||
|
||||
Reference in New Issue
Block a user