mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
parent
c471ae11d4
commit
90f5a97c15
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module.exports = function setupOAuthApp() {
|
|||
clientID: clientId,
|
||||
clientSecret: secret,
|
||||
callbackURL: callbackUrl.href
|
||||
}, async function (accessToken, refreshToken, profile, cb) {
|
||||
}, async function (accessToken, refreshToken, profile) {
|
||||
if (req.user) {
|
||||
const emails = profile.emails.filter(email => email.verified === true).map(email => email.value);
|
||||
|
||||
|
|
Loading…
Reference in a new issue