-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] POST to /login route causes 500 error #118
Comments
SQLALCHEMY_DATABASE_URI was not being set in the config. The production app pulls from a different env variable. Switching to the dev environment fixes the issue. Will update the compose file to run the flask app in dev mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Calling the /login route on the production flask app using docker-compose causes a 500 error with these error logs:
To Reproduce
Steps to reproduce the behavior:
docker-compose up -d
Calling the / route works, as does calling these routes with the test client.
Expected behavior
4XX error since the user doesn't exist
The text was updated successfully, but these errors were encountered: