diff --git a/framework/yii/helpers/base/SecurityHelper.php b/framework/yii/helpers/base/SecurityHelper.php index f646a24..546ed21 100644 --- a/framework/yii/helpers/base/SecurityHelper.php +++ b/framework/yii/helpers/base/SecurityHelper.php @@ -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