File_Passwd_Custom::verifyPasswd()
Параметр
- string $user
the user whose password should be verified
- string $pass
the password to verify
Возвращаемое значение
Returns TRUE if passwords equal, FALSE if they don't or PEAR_Error on failure.
Таблица 39-1. Возможные значения PEAR_Error
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_NOT | user doesn't exist |
FILE_PASSWD_E_INVALID_ENC_MODE | actual encryption mode isn't supported |
Пред. | Начало | След. |
File_Passwd_Custom::changePasswd() | Уровень выше | File_Passwd_Custom::useMap() |