diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index bb7974f7f..298a77033 100644 --- a/include/functions.php +++ b/include/functions.php @@ -679,7 +679,7 @@ } function validate_csrf($csrf_token) { - return hash_equals($csrf_token, $_SESSION['csrf_token']); + return hash_equals($_SESSION['csrf_token'], $csrf_token); } function load_user_plugins($owner_uid, $pluginhost = false) { |