forked from ppfun/pixelplanet
temporarily disable google login
This commit is contained in:
parent
cfa9fb5f03
commit
92d0a08669
|
@ -161,6 +161,8 @@ passport.use(new GoogleStrategy({
|
|||
callbackURL: '/api/auth/google/return',
|
||||
proxy: true,
|
||||
}, async (accessToken, refreshToken, profile, done) => {
|
||||
done(new Error('Google login temporarily disabled'));
|
||||
return;
|
||||
try {
|
||||
const { displayName: name, emails } = profile;
|
||||
const email = emails[0].value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user