chore: added logic to create and add google accoun to pre-existing user accounts
This commit is contained in:
@@ -23,7 +23,6 @@ export class GoogleStrategy extends PassportStrategy(Strategy) {
|
||||
const user = await this.usersService.findUserByEmail(
|
||||
profile.emails[0].value,
|
||||
);
|
||||
console.log('user log', user);
|
||||
|
||||
if (O.isNone(user)) {
|
||||
const createdUser = await this.usersService.createUserSSO(
|
||||
|
||||
Reference in New Issue
Block a user