1
0
forked from github/onyx

Compare commits

...

1 Commits

Author SHA1 Message Date
pablonyx
e36381e2cc k 2025-02-26 13:57:50 -08:00

View File

@@ -420,7 +420,7 @@ class UserManager(UUIDIDMixin, BaseUserManager[User, uuid.UUID]):
except exceptions.UserNotExists:
try:
# Attempt to get user by email
user = await self.get_by_email(account_email)
user = cast(User, await self.user_db.get_by_email(account_email))
if not associate_by_email:
raise exceptions.UserAlreadyExists()