Common CSRF token generation correctly
This commit is contained in:
parent
c49f141bbb
commit
e071ec46dc
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class EA_Controller extends CI_Controller {
|
||||||
js_config([
|
js_config([
|
||||||
'base_url' => config('base_url'),
|
'base_url' => config('base_url'),
|
||||||
'index_page' => config('index_page'),
|
'index_page' => config('index_page'),
|
||||||
'csrf_token' => config('csrf_token'),
|
'csrf_token' => $this->security->get_csrf_hash(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue