Not sure if you did it by mistake, but proper variable reference in
freemarker template is ${varX}, in your case ${user.username}.
Two places which are involved in processing email you looking for:
https://github.com/keycloak/keycloak/blob/4.8.3.Final/services/src/main/j...
https://github.com/keycloak/keycloak/blob/4.8.3.Final/services/src/main/j...
Kind regards,
Łukasz
--
Code-House
http://code-house.org
On 16.05.2019 11:34, Christophe Lehingue wrote:
Hello,
I would like to add the nominative information in the template "themes
/ base / email / html / email-verification.ftl".
I would like to make the user's name appear, but it does not work.
I do this: I add this tag "$ {(user.username!") "in this file, but
nothing appears.
Do you know how I could do it?
Thank you.
==== In FR ======
Bonjour,
Je souhaiterais ajouter les informations nominatives dans le template
"themes / base / email / html / email-verification.ftl".
Je souhaiterais faire paraître le nom de l'utilisateur, mais cela ne
fonctionne pas.
je fais ainsi : j'ajoute cette balise "${(user.username!'')" dans
ce
fichier, mais rien n'apparait.
Savez-vous comment je pourrais faire ?
Merci à vous.
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user