mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
fixed method name
This commit is contained in:
@@ -186,7 +186,7 @@ class SecurityHelper
|
|||||||
* // ...save $hash in database...
|
* // ...save $hash in database...
|
||||||
*
|
*
|
||||||
* // during login, validate if the password entered is correct using $hash fetched from database
|
* // during login, validate if the password entered is correct using $hash fetched from database
|
||||||
* if (SecurityHelper::verifyPassword($password, $hash) {
|
* if (SecurityHelper::validatePassword($password, $hash) {
|
||||||
* // password is good
|
* // password is good
|
||||||
* } else {
|
* } else {
|
||||||
* // password is bad
|
* // password is bad
|
||||||
|
|||||||
Reference in New Issue
Block a user