diff --git a/lib/auth/openid/index.ts b/lib/auth/openid/index.ts index 60411688..68bc0c25 100644 --- a/lib/auth/openid/index.ts +++ b/lib/auth/openid/index.ts @@ -24,7 +24,7 @@ passport.use(new OpenIDStrategy({ defaults: { profile: stringifiedProfile } - }).spread(function (user, created) { + }).spread(function (user) { if (user) { let needSave = false if (user.profile !== stringifiedProfile) {