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@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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user