File_Passwd_Cvs::verifyPasswd()

File_Passwd_Cvs::verifyPasswd() -- Verify password

Synopsis

mixed File_Passwd_Cvs::verifyPasswd (string $user, string $pass)

Description

Verify the password of a certain user.

Parameter

string $user

user whose password should be verified

string $pass

the plaintext password that should be verified

Return value

Returns TRUE if passwords equal, FALSE if the don't or PEAR_Error on failure.

Returns PEAR_Error FILE_PASSWD_E_EXISTS_NOT, if user doesn't exist.

Note

This function can not be called statically.