Forgot Password | Reset password link validity and changing email content
Change Forgot Password Link Validity
To change the validity of forgot password link, please execute the below query and restart SDP service.
Query:
update globalconfig set paramvalue='1440' where parameter='FORGOT_PASSWORD_LINK_VALIDITY' and category = 'SECURITY_SETTINGS';
here, 1440 minutes represents 24 hours, and can be changed to the requirements.
Change the Forgot Password message
Changing the email content is not provided in the UI for now, and will be released later. Until then, to change the mail content sent in forgot password email, you have to change a property in UI and modify the content manually in the Files.
- Go to Translation under Admin (Or "Common Translations" under ESM Directory)
- Search for "reset your password" and click Edit on the mail content
- Now, replace the content with a generic text like "Forgot Password mail content" and click Save.
- Now, go to <sdp>\lib\resources and open the latest modified file (eg: ApplicationResources_en_US_common.properties)
- Now, modify the below HTML content according to your need and paste it there.

Hi $LoginName, <br><br>Please click the following link to reset your password: <br><br>$PasswordResetLink <br><br><strong>Note:</strong> This link will be valid for $LinkValidity only. <br><br> Thank you.
- Make sure everything is in the same line and save the file (use <br> if you need new line in email content)
- Restart SDP services, and further emails will use this content.
New to ADSelfService Plus?