Remove debug logs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user