summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-11-01 11:03:38 -0600
committerGitHub <noreply@github.com>2018-11-01 11:03:38 -0600
commitc68aab1536cfe8f19d34bf7866d1876c9ebb8514 (patch)
treed7c37f229590e8d0486a98f60d3d96941549e8e5 /synapse/api
parentMerge pull request #4128 from matrix-org/erikj/state_res_v2_version (diff)
parentThe tests also need a version parameter (diff)
downloadsynapse-c68aab1536cfe8f19d34bf7866d1876c9ebb8514.tar.xz
Merge pull request #4004 from matrix-org/travis/login-terms
Add m.login.terms to the registration flow
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index e63b1e8a38..f20e0fcf0b 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -51,6 +51,7 @@ class LoginType(object):
     EMAIL_IDENTITY = u"m.login.email.identity"
     MSISDN = u"m.login.msisdn"
     RECAPTCHA = u"m.login.recaptcha"
+    TERMS = u"m.login.terms"
     DUMMY = u"m.login.dummy"
 
     # Only for C/S API v1