rewrite based on PR feedback:
* [ ] split config options into allowed_local_3pids and registrations_require_3pid * [ ] simplify and comment logic for picking registration flows * [ ] fix docstring and move check_3pid_allowed into a new util module * [ ] use check_3pid_allowed everywhere @erikjohnston PTAL
Showing
- synapse/config/registration.py 9 additions, 3 deletionssynapse/config/registration.py
- synapse/handlers/register.py 5 additions, 10 deletionssynapse/handlers/register.py
- synapse/rest/client/v1/register.py 7 additions, 13 deletionssynapse/rest/client/v1/register.py
- synapse/rest/client/v2_alpha/_base.py 0 additions, 21 deletionssynapse/rest/client/v2_alpha/_base.py
- synapse/rest/client/v2_alpha/account.py 2 additions, 1 deletionsynapse/rest/client/v2_alpha/account.py
- synapse/rest/client/v2_alpha/register.py 34 additions, 41 deletionssynapse/rest/client/v2_alpha/register.py
- synapse/util/threepids.py 45 additions, 0 deletionssynapse/util/threepids.py
Loading
Please register or sign in to comment