diff --git a/src/Form.php b/src/Form.php index 500ef6e..b4a91b1 100644 --- a/src/Form.php +++ b/src/Form.php @@ -382,7 +382,7 @@ class Form if ($this->csrf === TRUE) { - $csrf = new csrf (); + $csrf = new Csrf (); $csrf->field = $this->formName."[".$this->csrfField."]"; $res .= $csrf->displayFormCSRF (); $this->csrfToken = $csrf->getToken (); @@ -433,7 +433,7 @@ class Form public function checkToken ($tokenFromUser) // {{{ { - $csrf = new csrf (); + $csrf = new Csrf (); $csrf->field = $this->csrfField; // The checkThenDeleteToken method check the token and except if there is a // problem. If there is no problem, it delete the token