mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-24 02:27:22 +08:00
Update security-authentication.md
Minor syntax change.
This commit is contained in:
@@ -83,4 +83,4 @@ public function beforeSave($insert)
|
||||
}
|
||||
```
|
||||
|
||||
The `validateAuthKey` method just needs to compare the `$authKey` variable, passed as parameter (itself retrieved from a cookie), with the value fetched from database.
|
||||
The `validateAuthKey` method just needs to compare the `$authKey` variable, passed as a parameter (itself retrieved from a cookie), with the value fetched from the database.
|
||||
|
||||
Reference in New Issue
Block a user