File_Passwd_Cvs::verifyPasswd()

File_Passwd_Cvs::verifyPasswd() -- Verify password

Synopsis

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

Opis

Verify the password of a certain user.

Parametr

string $user

user whose password should be verified

string $pass

the plaintext password that should be verified

Zwracana wartość

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.

Uwagi

Ta funkcja nie może być wywołana statycznie.