Refactor code for calculating registration flows (#6106)
because, frankly, it looked like it was written by an axe-murderer. This should be a non-functional change, except that where `m.login.dummy` was previously advertised *before* `m.login.terms`, it will now be advertised afterwards. AFAICT that should have no effect, and will be more consistent with the flows that involve passing a 3pid.
Showing
- changelog.d/6106.misc 1 addition, 0 deletionschangelog.d/6106.misc
- synapse/rest/client/v2_alpha/register.py 62 additions, 62 deletionssynapse/rest/client/v2_alpha/register.py
- tests/rest/client/v2_alpha/test_register.py 67 additions, 12 deletionstests/rest/client/v2_alpha/test_register.py
- tests/test_terms_auth.py 15 additions, 9 deletionstests/test_terms_auth.py
Loading
Please register or sign in to comment