UNB Components Code Reference

UnbSession::ValidatePassword method

Validates a plain password against a stored password hash.

private static function UnbSession::ValidatePassword ($password, $hash);

Parameters

password

(string) Plain password as entered by the user

hash

(string) Password hash as stored in the database

Return value

(bool) true, if the password matches the hash, or false otherwise.

Member of class: UnbSession

Implementation file: session.class.php, line 564

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.