From 5b8b1c78dab55ed5d25ac94163d14063f84351b9 Mon Sep 17 00:00:00 2001 From: Cha Date: Tue, 17 Jun 2025 18:30:04 +0800 Subject: [PATCH] Remove debug logs --- packages/auth/src/strategies/helpers.ts | 1 - packages/auth/src/strategies/socialLogin.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/auth/src/strategies/helpers.ts b/packages/auth/src/strategies/helpers.ts index 5a58aa4e17..edc3f07274 100644 --- a/packages/auth/src/strategies/helpers.ts +++ b/packages/auth/src/strategies/helpers.ts @@ -18,7 +18,6 @@ import { CreateSocialUserParams } from './types'; * @throws {Error} Throws an error if there's an issue saving the updated user object. */ const handleExistingUser = async (oldUser: IUser, avatarUrl: string) => { - console.log(1111); const fileStrategy = process.env.CDN_PROVIDER ?? FileSources.local; const isLocal = fileStrategy === FileSources.local; diff --git a/packages/auth/src/strategies/socialLogin.ts b/packages/auth/src/strategies/socialLogin.ts index 993f497649..6a0adad445 100644 --- a/packages/auth/src/strategies/socialLogin.ts +++ b/packages/auth/src/strategies/socialLogin.ts @@ -28,7 +28,6 @@ export function socialLogin( const ALLOW_SOCIAL_REGISTRATION = isEnabled(process.env.ALLOW_SOCIAL_REGISTRATION ?? ''); if (oldUser) { - console.log('1', oldUser); await handleExistingUser(oldUser, avatarUrl ?? ''); return cb(null, oldUser); }