File_Passwd_Authdigest::verifyPasswd()
Параметр
- string $user
the user whose password should be verified
- string $realm
the realm the user is in
- string $pass
the plaintext password to verify
Возвращаемое значение
Retruns TRUE if passwords equal, FALSE if they don't, or PEAR_Error on failure.
Таблица 39-1. Возможные значения PEAR_Error
Error Code | Summary |
---|---|
FILE_PASSWD_E_USER_NOT_IN_REALM | the specified user doesn't exist in the supplied realm |
Пред. | Начало | След. |
File_Passwd_Authdigest::changePasswd() | Уровень выше | File_Passwd_Authdigest::delUserInRealm() |