# Customize Action Expired message for each method in keycloak

**URL:** <https://forum.keycloak.org/t/customize-action-expired-message-for-each-method-in-keycloak/26449>\
**Category:** Miscellanaeous\
**Created:** [June 12, 2024, 5:05am UTC](https://forum.keycloak.org/t/customize-action-expired-message-for-each-method-in-keycloak/26449 "2024-06-12T05:05:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prifulnath](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/prifulnath/32/10323_2.png) [@prifulnath](https://forum.keycloak.org/u/prifulnath)\
**Post date:** [June 12, 2024, 5:05am UTC](https://forum.keycloak.org/t/customize-action-expired-message-for-each-method-in-keycloak/26449/1 "2024-06-12T05:05:10Z")

</div>

I am using the keycloak **forgot password** and **user actions** functionalities. When using these functionality keycloak is sending a mail to users. When the mail is expired keycloak is commonly showing the message `Action expired.`.

I was able to change this message by editing `\themes\mytheme\login\messages\messages_en.properties` file by modify the `expiredActionMessage` value.

```auto
expiredActionMessage=Action expired.

```

But is there anyway i can modify the action expired message specific to what action i have done? e.g., for forgot password action message will be something like `Action expired. trigger forgot password again.` and for user actions message something like `Action expired. Ask your manager to retrigger user activation.`
