| 1 | <?php defined('BASEPATH') OR exit('No direct script access allowed'); |
||
| 3 | class MY_Security extends CI_Security { |
||
| 4 | public $verified = TRUE; |
||
| 5 | |||
| 6 | 96 | public function __construct() { |
|
| 9 | |||
| 10 | public function csrf_show_error() : void { |
||
| 11 | $this->verified = FALSE; |
||
| 12 | //CHECK: We handle the other half of this in MY_Form_Validation, does this cause any issues? |
||
| 13 | //header('Location: ' . htmlspecialchars($_SERVER['REQUEST_URI']), TRUE, 200); |
||
| 14 | } |
||
| 15 | } |
||
| 16 |