Skip to content

Commit

Permalink
Merge pull request #5231 from kenjis/remove-csrf-properties
Browse files Browse the repository at this point in the history
Remove CSRF properties
  • Loading branch information
kenjis committed Oct 25, 2021
2 parents 2060447 + 5d87249 commit a9d72a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions system/HTTP/IncomingRequest.php
Expand Up @@ -51,6 +51,8 @@ class IncomingRequest extends Request
* Set automatically based on Config setting.
*
* @var bool
*
* @deprecated Not used
*/
protected $enableCSRF = false;

Expand Down
1 change: 0 additions & 1 deletion system/Test/Mock/MockAppConfig.php
Expand Up @@ -24,7 +24,6 @@ class MockAppConfig extends App
public $cookieHTTPOnly = false;
public $cookieSameSite = 'Lax';
public $proxyIPs = '';
public $CSRFProtection = false;
public $CSRFTokenName = 'csrf_test_name';
public $CSRFHeaderName = 'X-CSRF-TOKEN';
public $CSRFCookieName = 'csrf_cookie_name';
Expand Down
1 change: 0 additions & 1 deletion system/Test/Mock/MockCLIConfig.php
Expand Up @@ -24,7 +24,6 @@ class MockCLIConfig extends App
public $cookieHTTPOnly = false;
public $cookieSameSite = 'Lax';
public $proxyIPs = '';
public $CSRFProtection = false;
public $CSRFTokenName = 'csrf_test_name';
public $CSRFCookieName = 'csrf_cookie_name';
public $CSRFExpire = 7200;
Expand Down

0 comments on commit a9d72a7

Please sign in to comment.