mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 07:31:09 +01:00
Fix call to class method
This commit is contained in:
@@ -22,7 +22,7 @@ class CSRFTokenizer {
|
||||
|
||||
// ensure a CSRF token exists in the session
|
||||
if (empty($_SESSION['csrf_token'])) {
|
||||
$this->ensureCSRFSessionToken;
|
||||
$this->ensureCSRFSessionToken();
|
||||
}
|
||||
|
||||
if ($this->csrfValidateRequest() && !$this->CSRFValidate($_SESSION['csrf_token'])) {
|
||||
|
||||
Reference in New Issue
Block a user