Skip to content

Commit a9d72a7

Browse files
authored
Merge pull request #5231 from kenjis/remove-csrf-properties
Remove CSRF properties
2 parents 2060447 + 5d87249 commit a9d72a7

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/IncomingRequest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ class IncomingRequest extends Request
5151
* Set automatically based on Config setting.
5252
*
5353
* @var bool
54+
*
55+
* @deprecated Not used
5456
*/
5557
protected $enableCSRF = false;
5658

system/Test/Mock/MockAppConfig.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class MockAppConfig extends App
2424
public $cookieHTTPOnly = false;
2525
public $cookieSameSite = 'Lax';
2626
public $proxyIPs = '';
27-
public $CSRFProtection = false;
2827
public $CSRFTokenName = 'csrf_test_name';
2928
public $CSRFHeaderName = 'X-CSRF-TOKEN';
3029
public $CSRFCookieName = 'csrf_cookie_name';

system/Test/Mock/MockCLIConfig.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class MockCLIConfig extends App
2424
public $cookieHTTPOnly = false;
2525
public $cookieSameSite = 'Lax';
2626
public $proxyIPs = '';
27-
public $CSRFProtection = false;
2827
public $CSRFTokenName = 'csrf_test_name';
2928
public $CSRFCookieName = 'csrf_cookie_name';
3029
public $CSRFExpire = 7200;

0 commit comments

Comments
 (0)