temporarily disable google login

This commit is contained in:
HF 2023-03-19 13:17:59 +01:00
parent cfa9fb5f03
commit 92d0a08669

View File

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