Issue:
When using SCH On-prem installation without SMTP configured, if you try to reset a password the following error appears:
SECURITY_50:Could not send password reset email, please contact your administrator
Solution:
We can enable a property that will set the password the same as the userID following these steps:
Note: These steps assume that you have an available user with the role System Administrator.
- Set to true in /etc/dpm/security-app.properties:
passwordHandler.userIdAsPasswordReset=true
- Restart SCH service
- Go to SCH UI --> Administration --> Users --> click the dropdown on the user you want to change the password and you will see the reset password button.
- After pressing the button the same error will appear but this time the password for that user has changed to be the same that the userID.
- Try to log in again and user as password the same as the userID, you will be taken to a page to update your password.
Due to security reasons, it is not recommended setting to true the parameter passwordHandler.userIdAsPasswordReset