forked-synapse/synapse/rest/client/v2_alpha
David Baker 8714ff6d51 Add a DUMMY stage to captcha-only registration flow
This allows the client to complete the email last which is more
natual for the user. Without this stage, if the client would
complete the recaptcha (and terms, if enabled) stages and then the
registration request would complete because you've now completed a
flow, even if you were intending to complete the flow that's the
same except has email auth at the end.

Adding a dummy auth stage to the recaptcha-only flow means it's
always unambiguous which flow the client was trying to complete.
Longer term we should think about changing the protocol so the
client explicitly says which flow it's trying to complete.

vector-im/riot-web#9586
2019-05-10 11:09:53 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py rewrite based on PR feedback: 2018-01-19 15:33:55 +00:00
account_data.py Add GET account data routes (#4303) 2019-01-07 10:27:54 +00:00
account_validity.py Add management endpoints for account validity 2019-04-17 19:34:45 +01:00
account.py Add unbind API to /r0 as it is now stabalised 2019-04-01 15:25:19 +01:00
auth.py switch from google.com to recaptcha.net for reCAPTCHA (#4731) 2019-02-25 11:15:36 -08:00
capabilities.py Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
devices.py check isort by travis 2018-07-16 13:57:33 +02:00
filter.py run isort 2018-07-09 16:09:20 +10:00
groups.py run isort 2018-07-09 16:09:20 +10:00
keys.py run isort 2018-07-09 16:09:20 +10:00
notifications.py run isort 2018-07-09 16:09:20 +10:00
openid.py run isort 2018-07-09 16:09:20 +10:00
read_marker.py run isort 2018-07-09 16:09:20 +10:00
receipts.py run isort 2018-07-09 16:09:20 +10:00
register.py Add a DUMMY stage to captcha-only registration flow 2019-05-10 11:09:53 +01:00
report_event.py rename assert_params_in_request to assert_params_in_dict 2018-07-13 21:53:01 +02:00
room_keys.py make sure version is in body and wrap in linearizer queue 2019-02-08 01:32:45 -05:00
room_upgrade_rest_servlet.py Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
sendtodevice.py Make auth & transactions more testable (#3499) 2018-07-14 07:34:49 +10:00
sync.py Allow "unavailable" presence status for /sync (#4592) 2019-02-08 21:09:56 +00:00
tags.py run isort 2018-07-09 16:09:20 +10:00
thirdparty.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
tokenrefresh.py Rip out more refresh_token code 2016-11-30 17:40:18 +00:00
user_directory.py Add option to disable searching in the user dir 2019-03-19 16:40:19 +00:00