Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Accounts.resetPassword.text = function(user, url) {
- return "Click this link to reset your password: /reset-password/" + myId;
- }
- Meteor.startup(function() {
- Accounts.urls.resetPassword = function(token) {
- return Meteor.absoluteUrl('reset-password/' + token);
- };
- });
- Accounts.emailTemplates.resetPassword.text
- Meteor.startup(() ->
- Accounts.emailTemplates.resetPassword.text = (user, url) ->
- url = url.replace('#/', '')
- return "Click this link to reset your password: " + url
- )
- Meteor.startup(() =>
- Accounts.emailTemplates.resetPassword.text = function(user, url) {
- url = url.replace('#/', '');
- return `Click this link to reset your password: ${url}`;
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement