Closed michplunkett closed 1 year ago
https://github.com/lucyparsons/OpenOversight/issues/1010
Edit the login_user functions so that they return the user (removing the need for an extra database query) and create constants for the login values.
login_user
develop
pytest
pre-commit
Fixes issue
https://github.com/lucyparsons/OpenOversight/issues/1010
Description of Changes
Edit the
login_user
functions so that they return the user (removing the need for an extra database query) and create constants for the login values.Tests and linting
develop
branch.pytest
passes on my local development environment.pre-commit
passes on my local development environment.