Skip to content

Commit

Permalink
Closes #398 Change Password reset email
Browse files Browse the repository at this point in the history
- changed to [email protected]

Signed-off-by: Shrey Gupta <[email protected]>
  • Loading branch information
with-shrey committed Feb 18, 2021
1 parent 6d2e21e commit 5806a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/models/user-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ module.exports = function (UserModel) {
var email = require('../utils/email');
var argsForEmail = email.argsForEmail;
argsForEmail.to = info.email;
argsForEmail.from = 'kamal@shoppinpal.com';
argsForEmail.from = 'no-reply@shoppinpal.com';
argsForEmail.subject = 'Password reset instructions';
var userName = info.user.name.substr(0, 1).toUpperCase() + info.user.name.substr(1, info.user.name.length - 1).toLowerCase();
var passwordResetLink = UserModel.app.get('site').baseUrl + '/#/invite-user?accessToken=' + info.accessToken.id + '&name=' + userName;
Expand Down

0 comments on commit 5806a32

Please sign in to comment.