Unclassified NewsBoard Code Reference

UnbIsSecurePassword function

Is the given password considered to be secure?

function UnbIsSecurePassword ($pass, $username);

Parameters:

pass
(string) chosen password
username
(string) username to evaluate the password for

Return value:

(int) 0: ok
1: too short
2: equal username
3: need number
4: need special character

Implementation file: unb_lib/common.lib.php, line 3456

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