Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
\Security::check_token() give me alwasy false
I can not get true from \Security::check_token().
To reproduce this, I have following code.
php oil console
I also have followings in cofig.php as well.
'security' => array(
'csrf_autoload' => false,
// 'csrf_autoload_methods' => array('post', 'put', 'delete'),
// 'csrf_bad_request_on_fail' => false,
// 'csrf_auto_token' => false,
'csrf_token_key' => 'fuel_csrf_token',
'csrf_expiration' => 86400, // 1day
* A salt to make sure the generated security tokens are not predictable
'token_salt' => 'mySalt',
FuelPHP version is 1.9-dev
Do you have any suggestion for this?
Security tokens use a cookie. You don't have cookies on the commandline.
Thanks for your help
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion