keycloak忘记密码邮件配置

时间:2019-07-09 11:59:47

标签: keycloak keycloak-services

如何设置ipAddress和日期以忘记密码邮件内容

passwordResetSubject=Your B2B user data


passwordResetBody=Dear,{3} {4}\n\n you requested a password reset from\nIP:{5}\nDate:{6}\nThis is your new password for the B2B platform of the Otto group.\n\n You can log in on our B2B platform under {0}\n\n With kind regards\n\n Your B2B team\n\nIMPORTANT:\n For security reasons please do not reply this email.

passwordResetBodyHtml=<p>Dear ,</p>\n\n<p>you requested a password reset from</p>\n<p>IP:{5}</p>\n<p>Date:{6}</p>\n<p>This is your new password for the B2B platform of the Otto group.\n<a href="{0}"></a></p>


<#ftl output_format="plainText">
${msg("passwordResetBody",link, linkExpiration, realmName, user.getFirstName(), user.getLastName())}

0 个答案:

没有答案