We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The lifetime of the CSRF check cookie cannot be set to 0 (Session). Probably because the current time and the set value are added.
\Config\App.php
public $CSRFExpire = 0; public $CSRFRegenerate = false;
CodeIgniter 4 version 4.0.4
Affected module(s) CodeIgniter\Security\Security::CSRFSetCookie
Expected behavior, and steps to reproduce if appropriate If 0 is specified, it will not be added to time () .
Context
The text was updated successfully, but these errors were encountered:
If CSRFExpire specifies 0, set 0 as it is
0187041
If CSRFExpire specifies 0, set 0 as it is. fix: codeigniter4#3655
Successfully merging a pull request may close this issue.
Describe the bug
The lifetime of the CSRF check cookie cannot be set to 0 (Session).
Probably because the current time and the set value are added.
\Config\App.php
CodeIgniter 4 version
4.0.4
Affected module(s)
CodeIgniter\Security\Security::CSRFSetCookie
Expected behavior, and steps to reproduce if appropriate
If 0 is specified, it will not be added to time () .
Context
The text was updated successfully, but these errors were encountered: