fix: fixed magic-link account creation bug
This commit is contained in:
@@ -229,7 +229,7 @@ export class AuthService {
|
|||||||
* * If user was created with another provider findUserByEmail may return true
|
* * If user was created with another provider findUserByEmail may return true
|
||||||
*/
|
*/
|
||||||
const profile = {
|
const profile = {
|
||||||
provider: 'email',
|
provider: 'magic',
|
||||||
id: user.value.email,
|
id: user.value.email,
|
||||||
};
|
};
|
||||||
const providerAccountExists = await this.checkIfProviderAccountExists(
|
const providerAccountExists = await this.checkIfProviderAccountExists(
|
||||||
|
|||||||
Reference in New Issue
Block a user