validatePassword

Checks whether a password meets the current forum rules - called when registering/choosing a password. - checks the password obeys the current forum settings for password strength. - if password checking is enabled, will check that none of the words in restrict_in appear in the password. - returns an error identifier if the password is invalid, or null.
Parameters Summary
string $password
string $username
array $restrict_in = array ( )