File_Passwd_Cvs::verifyPasswd
File_Passwd_Cvs::verifyPasswd() – Verify password
Synopsis
mixed File_Passwd_Cvs::verifyPasswd (
string $user
, string $pass
)
Описание
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.
Замечание
This function can not be called statically.