mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
chore: ran linting
This commit is contained in:
parent
79f004bbb1
commit
bcdfd23ea1
4 changed files with 7 additions and 6 deletions
|
|
@ -204,9 +204,7 @@ class UserManager(UUIDIDMixin, BaseUserManager[User, uuid.UUID]):
|
|||
credentials.password, user.hashed_password
|
||||
)
|
||||
if not verified:
|
||||
logger.warning(
|
||||
f"Failed login attempt (wrong password) for user: {user.id}"
|
||||
)
|
||||
logger.warning(f"Failed login attempt (wrong password) for user: {user.id}")
|
||||
return None
|
||||
if updated_password_hash is not None:
|
||||
await self.user_db.update(user, {"hashed_password": updated_password_hash})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue