resetPassword
Description
Generates a random password for a user and emails it to them.
Syntax
void resetPassword (int $memID[, string $username])
Parameter $memID
Expected type: Integer
Description: The member ID of the user whose password is being reset
Parameter $username
Expected type: String
Description: The username of the user whose password is being reset
Notes
- Pulls username and email address for the specified member ID
- Performs all necessary checks on $username if it isn't null