1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

Log a warning when a user logs in but doesn't have an email address in the profile controller.

This commit is contained in:
Simo Kinnunen 2014-11-19 12:06:30 +09:00
parent d1c200eef8
commit 860158b961

View file

@ -43,6 +43,7 @@ module.exports = function(options) {
}))
}
else {
log.warn('Missing email in profile', req.user)
res.redirect('/auth/oauth/')
}
}