mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Merge pull request #540 from DroidsOnRoids/rejected-email-template
Rejected email hardcoded HTML replaced with template.
This commit is contained in:
@@ -57,8 +57,7 @@ module.exports = function(options) {
|
||||
}
|
||||
else {
|
||||
log.warn('Missing or disallowed email in profile', req.user)
|
||||
res.send('<html><body>Missing or rejected email address ' +
|
||||
'<a href="/auth/oauth/">Retry</a></body></html>')
|
||||
res.render('rejected-email')
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user