mirror of
https://github.com/itflow-org/itflow
synced 2026-07-26 18:27:14 +00:00
Updated validateCSRFToken to automatically grab and compare get or post csrf token no longer need to pass an argument to the function which fixed the issue if no hash was present
This commit is contained in:
@@ -4,7 +4,7 @@ defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
|
||||
|
||||
if (isset($_POST['edit_localization'])) {
|
||||
|
||||
validateCSRFToken($_POST['csrf_token']);
|
||||
validateCSRFToken();
|
||||
|
||||
$locale = escapeSql($_POST['locale']);
|
||||
$currency_code = escapeSql($_POST['currency_code']);
|
||||
|
||||
Reference in New Issue
Block a user