dodanie csrf, oauth 2, dockerfile
This commit is contained in:
@@ -4,6 +4,7 @@ require_once 'includes/auth.php';
|
||||
checkAuth();
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['order_ids'])) {
|
||||
requireCsrfToken();
|
||||
$ids = $_POST['order_ids'];
|
||||
$placeholders = str_repeat('?,', count($ids) - 1) . '?';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user