jonra1993 / fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
MIT License
964 stars 150 forks source link

fix bug in password verification #9

Closed jamazi closed 2 years ago

jamazi commented 2 years ago

verify_password is async function and it was never called by crud_user.authenticate function, making authentication happen it user pass existing email with bad password.

jonra1993 commented 2 years ago

Hello, @jamazi thanks for this important PR 😃👌