mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 22:39:52 +08:00
fixed method name
This commit is contained in:
@@ -186,7 +186,7 @@ class SecurityHelper
|
||||
* // ...save $hash in 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
|
||||
* } else {
|
||||
* // password is bad
|
||||
|
||||
Reference in New Issue
Block a user