Common CSRF token generation correctly

This commit is contained in:
Alex Tselegidis 2021-12-16 08:45:55 +01:00
parent c49f141bbb
commit e071ec46dc
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class EA_Controller extends CI_Controller {
js_config([
'base_url' => config('base_url'),
'index_page' => config('index_page'),
'csrf_token' => config('csrf_token'),
'csrf_token' => $this->security->get_csrf_hash(),
]);
}
}