This function is called whenever the password should be changed. Account modules must change their password attributes only if the modules list contains their module name.
Tags:
return:
list of error messages if any as parameter array for StatusMessage e.g. return arrray(array('ERROR', 'Password change failed.'))
access:
public
Parameters:
String
$password
new password
array
$modules
list of modules for which the password should be changed
boolean
$forcePasswordChange
force the user to change his password at next login