File_Passwd_Authbasic::verifyPasswd()
Параметр
- string $user
the user whose password should be verified
- string $pass
the plaintext 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 | invalid encryption mode was supplied |
Пред. | Начало | След. |
File_Passwd_Authbasic::changePasswd() | Уровень выше | File_Passwd_Authbasic::getMode() |