Skip to content

Commit

Permalink
changed welcome mail params
Browse files Browse the repository at this point in the history
  • Loading branch information
4ty711 committed Jun 20, 2023
1 parent a2294f8 commit 76adf89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion interface/rest.js
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ Platform = function(SPOO, OBJY, options) {

if (req.body.username && !req.query.noemail) {
console.log('sending welcome email');
messageMapper.send((options.userRegistrationMessage || {}).from || 'SPOO', req.body.email, 'your password', pw)
messageMapper.send((options.userRegistrationMessage || {}).from || 'SPOO', req.body.email, (options.userRegistrationMessage || {}).subject || 'your password', ((options.userRegistrationMessage || {}).body || '').replace('__KEY__', pw) || pw)
}

}, function(err) {
Expand Down
1 change: 0 additions & 1 deletion mappers/meta/mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ var MetaMapper = function() {
})

});

}

this.createClientRegistration = function(success, error) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "0.9.950"
"version": "0.9.951"
}

0 comments on commit 76adf89

Please sign in to comment.