Skip to content

error sso discord #183

Description

@mitch10593

version: 2.1.1

log:

backend-1  |   File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 424, in app
backend-1  |     raw_response = await run_endpoint_function(
backend-1  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1  |   File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 312, in run_endpoint_function
backend-1  |     return await dependant.call(**values)
backend-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1  |   File "/app/app/api/auth.py", line 36, in login
backend-1  |     if user is None or user.password is None or not verify_password(data.password, user.password):
backend-1  |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1  |   File "/app/app/auth/password.py", line 9, in verify_password
backend-1  |     return bcrypt.checkpw(plain_password.encode(), hashed_password.encode())
backend-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1  | ValueError: Invalid salt

Cas: j'ai changé l'email d'un utilisateur (Domi) et ça a causé ce bug lors de la connexion sso discord

Contournement: reset le mdp (via la procédure mot de passe perdu).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions