Token Expiry time in Forgot Password and Welcome Email do not reflect local time

|
Published

The token expiry in Forgot Password or the Welcome email might show time in UTC, though you might want it to show your local time. There is a way this could be achieved, if the EUM is installed as an Azure App Service.

  1. Go to https://portal.azure.com and log in with admin credentials so you can make changes to the EUM App Service
  2. Navigate to the EUM app service and go to Configurations in the left hand menu
    App_Service_Configuration_1.JPG
  3. Click "+ New application setting"
    New_App_Setting.JPG
  4. In the form, put in "WEBSITE_TIME_ZONE" as Name, and the Name of Time Zone you require as Value. The Name of Time Zone can be obtained from the list published by Microsoft.
    Website_time_zone.JPGA list of the time zones can be obtained from https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)?redirectedfrom=MSDN
    Time_Zones.JPG
  5. Save and restart the app service.