mixed File_Passwd_Authdigest::verifyPasswd (
string $user
, string $realm
, string $pass
)
Verify the password of an user in a certain realm.
$user
the user whose password should be verified
$realm
the realm the user is in
$pass
the plaintext password to verify
Retruns TRUE if passwords equal, FALSE if they don't, or PEAR_Error on failure.
Error Code | Summary |
---|---|
FILE_PASSWD_E_USER_NOT_IN_REALM | the specified user doesn't exist in the supplied realm |
This function can not be called statically.