# Update\_Password Action Theme

**URL:** <https://forum.keycloak.org/t/update-password-action-theme/15953>\
**Category:** Extending the server\
**Created:** [June 13, 2022, 7:20am UTC](https://forum.keycloak.org/t/update-password-action-theme/15953 "2022-06-13T07:20:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drz9](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/drz9/32/5987_2.png) [@drz9](https://forum.keycloak.org/u/drz9)\
**Post date:** [June 13, 2022, 7:20am UTC](https://forum.keycloak.org/t/update-password-action-theme/15953/1 "2022-06-13T07:20:21Z")

</div>

Hello community,

I am currently trying to theme our company keycloak and I am stumbling across an issue I cannot solve yet:

I am updating the email theme so it sends an email fitting my companys needs. This email is being sent when UPDATE\_PASSWORD is invoked. This generates a link for the user to update his password. The problem here is, that the page that is shown is not correctly themed and is using the default theme layout/stylesheet and not the one I created.  
As far as I understand, this is not something I can achieve in the email theme but in the login theme. I checked the default base theme and found a file like:  
`login-update-password.ftl`

As far as I understand, this template is the one being used when I invoke UPDATE\_PASSWORD on the users credentials. So I copied this file to my login theme but it has no effect. At the top, this template imports the `template.ftl` as layout. My login theme also has the `template.ftl` which I already modified and which also works. However, the page that opens after clicking the email link does always use the default template als layout.  
When users click on “forgot password” on the login page, the layout will always be themed correctly. It’s just the link in the email that does not do any magic for me.  
What am I missing here? Thanks in advance!
