Fix email verification redirection (#16761)
Previously, the response status of `HTMLResource` was hardcoded as `200`. However, for proper redirection after the user verifies their email, we require the status to be `302`. This PR addresses that issue by using `code` as response status.
Showing
- changelog.d/16761.bugfix 1 addition, 0 deletionschangelog.d/16761.bugfix
- synapse/http/server.py 1 addition, 1 deletionsynapse/http/server.py
- synapse/rest/synapse/client/password_reset.py 1 addition, 1 deletionsynapse/rest/synapse/client/password_reset.py
- tests/rest/client/test_account.py 40 additions, 3 deletionstests/rest/client/test_account.py
Loading
Please register or sign in to comment