mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #15496: CSRF token is now regenerated on changing identity
This commit is contained in:

committed by
GitHub

parent
7adf3152cb
commit
6c0540aa2d
@ -29,6 +29,7 @@ class UrlTest extends TestCase
|
||||
'components' => [
|
||||
'request' => [
|
||||
'class' => 'yii\web\Request',
|
||||
'cookieValidationKey' => '123',
|
||||
'scriptUrl' => '/base/index.php',
|
||||
'hostInfo' => 'http://example.com/',
|
||||
'url' => '/base/index.php&r=site%2Fcurrent&id=42',
|
||||
|
Reference in New Issue
Block a user