From 493693625493fac4eac18b6957431eb6ffae3011 Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Wed, 18 Dec 2024 14:27:04 -0800 Subject: [PATCH] copy update --- backend/onyx/auth/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/onyx/auth/users.py b/backend/onyx/auth/users.py index f7d029e95533..2b1a489c9adf 100644 --- a/backend/onyx/auth/users.py +++ b/backend/onyx/auth/users.py @@ -228,6 +228,7 @@ class UserManager(UUIDIDMixin, BaseUserManager[User, uuid.UUID]): safe: bool = False, request: Optional[Request] = None, ) -> User: + # We verify the password here to make sure it's valid before we proceed await self.validate_password(user_create.password, user_create) user_count: int | None = None