Browse Source

fixed method name

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
33ca13e498
  1. 2
      framework/yii/helpers/base/SecurityHelper.php

2
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

Loading…
Cancel
Save