You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- You must enter your own sendgrid e-mail information (found in api.js file):
64
+
65
+
```
66
+
var options = {
67
+
auth: {
68
+
api_user: '', // Enter yourSendgrid username
69
+
api_key: '' // Enter your Sendgrid password
70
+
}
71
+
};
72
+
var client = nodemailer.createTransport(sgTransport(options));
73
+
```
74
+
75
+
- You must also update all e-mail callbacks (links that users click for e-mail activation/password reset, etc.) found in the api.js file:
76
+
77
+
```
78
+
var email = {
79
+
from: 'MEAN Stack Staff, staff@localhost.com',
80
+
to: user.email,
81
+
subject: 'Reset Password Request',
82
+
text: 'Hello ' + user.name + ', You recently request a password reset link. Please click on the link below to reset your password:<br><br><a href="https://immense-dusk-71112.herokuapp.com/reset/' + user.resettoken,
83
+
html: 'Hello<strong> ' + user.name + '</strong>,<br><br>You recently request a password reset link. Please click on the link below to reset your password:<br><br><a href="https://immense-dusk-71112.herokuapp.com/reset/' + user.resettoken + '">https://immense-dusk-71112.herokuapp.com/reset/</a>'
84
+
};
85
+
86
+
```
87
+
63
88
- Installation is complete. Navigate to folder where server.js file is located and enter the following into command prompt:
0 commit comments