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