chore: added logic to create and add google accoun to pre-existing user accounts
This commit is contained in:
parent
5fe934110e
commit
1f581e7b51
1 changed files with 0 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue