enable google login again

This commit is contained in:
HF 2023-04-05 21:13:12 +02:00
parent 3e58eb6111
commit 91fe9517e9
1 changed files with 0 additions and 2 deletions

View File

@ -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;