fastapi / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
26.21k stars 4.58k forks source link

Key error 'email' in verify_password_reset_token #171

Open mehedees opened 4 years ago

mehedees commented 4 years ago

verify_password_reset_token method is returning decoded_token["email"] where there is no email in the payload.

sheoak commented 4 years ago

full-stack-fastapi-postgresql/{{cookiecutter.project_slug}}/backend/app/app/utils.py

it should be "sub" instead of "email" I think

mehedees commented 4 years ago

Yeah. Created a pull request.

robertop23 commented 3 years ago

Why has not it been done yet?