- Status changed to Fixed
11 months ago 6:25pm 23 July 2024 I found a way to make the customized email subject and body to work. It turned out the function _password_policy_mail_text() was looking for an i18n variable even if the variable had not been turned on, and since there was none set when the module was enabled, it was returning the default value that has been defined at the beginning of the module's file. Under that condition, any text modification to the email subject and body content from the administration page was ignored.
To make things work, I had to go to "Configuration > Regional and language > Multilingual settings > Variables > User emails" and enable "Password Policy warning e-mail", then go back to the Password policies settings and edit the email notification for the languages I had available. Only then the customized message started to be used in the emails sent to the users.
Automatically closed - issue fixed for 2 weeks with no activity.