Closed sea-kelp closed 1 year ago
Fixes #1067
This invalidates all of a user's sessions when their email or password is updated. This builds upon changes made in https://github.com/lucyparsons/OpenOversight/commit/0912f9071742c1269fe16b8228c2d2b4cded6b6e.
See the Flask-Login documentation for an explanation of how this works: https://flask-login.readthedocs.io/en/latest/#alternative-tokens
None!
develop
pytest
pre-commit
Fixes issue
Fixes #1067
Description of Changes
This invalidates all of a user's sessions when their email or password is updated. This builds upon changes made in https://github.com/lucyparsons/OpenOversight/commit/0912f9071742c1269fe16b8228c2d2b4cded6b6e.
See the Flask-Login documentation for an explanation of how this works: https://flask-login.readthedocs.io/en/latest/#alternative-tokens
Notes for Deployment
None!
Screenshots (if appropriate)
Tests and linting
develop
branch.pytest
passes on my local development environment.pre-commit
passes on my local development environment.