mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +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:
@@ -43,6 +43,7 @@ module.exports = function(options) {
|
||||
}))
|
||||
}
|
||||
else {
|
||||
log.warn('Missing email in profile', req.user)
|
||||
res.redirect('/auth/oauth/')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user