Discussion
Pegasystems Inc.
JP
Last activity: 27 Sep 2021 22:37 EDT
How to localize the subject of the email for Password Change on next login OTP
Hi,
A while ago, I have posted an article regarding how to localize the subject of the email for Forgot Password OTP (https://collaborate.pega.com/discussion/how-localize-subject-email-forgot-password-otp). Actually, for system to send an OTP thru e-mail is not limited to "Forgot Password" functionality, and there are some other use cases - for instance, when you check "Force password change on next login" for operator, the operator will receive an OTP by e-mail when he tries to log in to the system next time. This functionality is enabled automatically when you have set up your Email account for MFA policies in the Security Policy.
1. Check "Force password change on next login" for operator.
2. When the operator logs in to the system next time, he is prompted to change the password and OTP is sent to his e-mail address. The e-mail is written in English, and you want to localize it to your language.
The subject and message of this email is slightly different from Forgot Password OTP e-mail. My customer tried to localize it by following the How-To document I posted before for Forgot Password OTP, but it did not work. This is because Forgot Password OTP is sent before the operator logs in to the system, so the activity and correspondence rule must be overridden in the "Unauthenticated" ruleset, while this password change on next logon OTP happens after the operator logs in to the system, by entering the current password. Hence, you need to override the activity and correspondence in your custom / custom_ja ruleset. It is actually a bit complex than it sounds, so if you need to localize both e-mails, which would be usually the case, please refer to both How-To documents from two posts and compare the differences.
Thanks,