Skip to content

Commit

Permalink
Remove deprecated constants CSRF_MASK_LENGTH.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Sep 22, 2023
1 parent 6618aa8 commit dc2ef34
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions framework/web/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ class Request extends \yii\base\Request
* The name of the HTTP header for sending CSRF token.
*/
const CSRF_HEADER = 'X-CSRF-Token';
/**
* The length of the CSRF token mask.
* @deprecated since 2.0.12. The mask length is now equal to the token length.
*/
const CSRF_MASK_LENGTH = 8;

/**
* @var bool whether to enable CSRF (Cross-Site Request Forgery) validation. Defaults to true.
Expand Down

0 comments on commit dc2ef34

Please sign in to comment.