3.6.2 Forget password
Both in the mobile and desktop clients there is a “forget password” link on the Log in screen. The link is pointing to the VUP URL for example https://yourdomain.com/vup/resetpassword
The page shows a form where a user should enter his username or phone number. The system will then send an email containing a link with a token to the email address associated with the account.
The email is composed based on the settings from the EMCI/AppSettings.config file:
<!--Mail settings - Forgot password--> <add key="forgot_password_mail_subject" value="Using XXX - Reset password"/> <add key="forgot_password_mail_body_file" value="/var/www/emcd/forget_password.html"/> <add key="forgot_password_mail_body_html" value="true"/> <add key="forgot_password_mail_display_name" value=""/> <add key="forgot_password_mail_bcc" value=""/> <add key="forgot_password_mail_reply_to" value=""/> |
The body file contains the template. There should be the URL to which the EMCI will add the part with token. Below is an example.
[USER_NAME]
To restore password on your account click here
After that you will be able to log in.
The link’s URL is https://yourdomain.com/VUP/ChangePassword?code=[CODE]
Once a user clicks on the link in email a browser will open the ChangePassword page with the token as a parameter. A form will appear where a user can set a new password.