[keycloak-user] [reset-pasword] email with username

LIEVRE Olivier olivier.lievre at altran.com
Fri Jan 8 11:40:23 EST 2016


Thks a lot, I succed to do it by updating the ftl file adding user.username in parameter, and updated the corresponding message with adding the new parameter.

Thks again,
Olivier

De : Stian Thorgersen [mailto:sthorger at redhat.com]
Envoyé : vendredi 8 janvier 2016 16:44
À : LIEVRE Olivier
Cc : keycloak-user
Objet : Re: [keycloak-user] [reset-pasword] email with username

Yes, by changing the email theme. You can either just change [html|text]/password-reset.ftl directly and change the message there. Or you change the template to pass an additional attribute to msg and update the messages to add user to passwordResetBody value.

On 7 January 2016 at 09:47, LIEVRE Olivier <olivier.lievre at altran.com<mailto:olivier.lievre at altran.com>> wrote:
Hello,

Is there a way to customize keycloak reset-password e-mail to add the username in the body?

KR,
Olivier

_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160108/7ede2982/attachment-0001.html 


More information about the keycloak-user mailing list