Consolidate logic to check for deactivated users. (#15634)
This moves the deactivated user check to the method which all login types call. Additionally updates the application service tests to be more realistic by removing invalid tests and fixing server names.
Showing
- changelog.d/15634.bugfix 1 addition, 0 deletionschangelog.d/15634.bugfix
- docs/modules/password_auth_provider_callbacks.md 3 additions, 0 deletionsdocs/modules/password_auth_provider_callbacks.md
- synapse/appservice/__init__.py 2 additions, 1 deletionsynapse/appservice/__init__.py
- synapse/handlers/auth.py 5 additions, 9 deletionssynapse/handlers/auth.py
- synapse/handlers/jwt.py 3 additions, 16 deletionssynapse/handlers/jwt.py
- synapse/rest/client/login.py 20 additions, 3 deletionssynapse/rest/client/login.py
- tests/handlers/test_password_providers.py 21 additions, 38 deletionstests/handlers/test_password_providers.py
Loading
Please register or sign in to comment