mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +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:
parent
d1c200eef8
commit
860158b961
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ module.exports = function(options) {
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
log.warn('Missing email in profile', req.user)
|
||||||
res.redirect('/auth/oauth/')
|
res.redirect('/auth/oauth/')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue