diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-19 13:12:22 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-19 13:12:22 +0100 |
commit | 0da0d0a29d807c481152b1580acbbe36f24cf771 (patch) | |
tree | 8a02a5eff71ad6410b726ee2d41233590b6b907d /setup.py | |
parent | Merge pull request #930 from matrix-org/markjh/handlers (diff) | |
download | synapse-0da0d0a29d807c481152b1580acbbe36f24cf771.tar.xz |
rest/client/v2_alpha/register.py: Refactor flow somewhat.
This is meant to be an *almost* non-functional change, with the exception that it fixes what looks a lot like a bug in that it only calls `auth_handler.add_threepid` and `add_pusher` once instead of three times. The idea is to move the generation of the `access_token` out of `registration_handler.register`, because `access_token`s now require a device_id, and we only want to generate a device_id once registration has been successful.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions