Unclassified NewsBoard Code Reference

UnbCheckUserPassword function

Check a user password

function UnbCheckUserPassword ($hashed, $stored);

Parameters:

hashed
(string) hash value of the password to check
stored
(string) stored hash value of the user password, this is the "correct answer"

Return value:

(bool) password is correct

Remarks:

Supports multiple password hash methods.

Implementation file: unb_lib/session.lib.php, line 37

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.