enable google login again
This commit is contained in:
parent
3e58eb6111
commit
91fe9517e9
|
@ -161,8 +161,6 @@ 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