fix: fixed magic-link account creation bug

This commit is contained in:
Balu Babu
2023-01-20 07:59:52 +05:30
parent a6ad86bd59
commit b238f3d060

View File

@@ -229,7 +229,7 @@ export class AuthService {
* * If user was created with another provider findUserByEmail may return true
*/
const profile = {
provider: 'email',
provider: 'magic',
id: user.value.email,
};
const providerAccountExists = await this.checkIfProviderAccountExists(