-
Notifications
You must be signed in to change notification settings - Fork 4
Forgot Mail and Mail API
This page enables the user to reset the password
This API call will enable the user to reset the password. Upon entering valid registered email id the API will call the mailing logic to end a mail to the user for password reset
The mail is generated from noreplygatormeetup@gmail.com email id to the user . Upon clicking the URL in the mail the API calls reset/:token API
/users/signup
GET
| Key | Description | Type | Required |
|---|---|---|---|
| Email Id of user | String | Yes | |
| password | User's password | String | Yes |
Status codes: 200,400,501
Example:
code: 200 OK
Table Name: users
| Key | Description | Type | Required |
|---|---|---|---|
| name | Password | Encryped Password | Yes |
| Email ID of the user | String | Yes |
- Input a valid registerd
Email Id. - Click on Forgot Password Link Button
- Go to the Email
- Click on the URL
- Enter new Password
- Re Login in the website.
The API provides following feautures
•A single module with zero dependencies – code is easily auditable, as there are no dark corners •Heavy focus on security, no-one likes RCE vulnerabilities •Unicode support to use any characters, including emoji 💪 •Windows support – you can install it with npm on Windows just like any other module, there are no compiled dependencies. Use it hassle free from Azure or from your Windows box •Use HTML content, as well as plain text alternative •Add Attachments to messages
Encryption : In order to store password in database and to provide security we are using encryption and decryption algorithms so passwords remain hidden More information can be obtained from https://nodemailer.com/about/
Note Here the Nodemailer is being configured with Gmail . The subject line, body, content and attachments are also sent .