mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-07-15 19:07:40 +02:00
Fix call to class method
This commit is contained in:
parent
3d6b4e1f15
commit
d6c8ac32a7
@ -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'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user