summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-02 17:01:29 +0100
committerDavid Baker <dave@matrix.org>2015-04-02 17:01:29 +0100
commit70a84f17f39bbc5c8a68541874ca4767871f2b79 (patch)
tree6d821d5eaa378b9c37ca611a0ffb2f9c8e628eda /synapse/api/constants.py
parentExplain how I justified to myself making JsonResource not always send JSON. (diff)
downloadsynapse-70a84f17f39bbc5c8a68541874ca4767871f2b79.tar.xz
Add shared secret auth into register v2 and switch the script over.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 3e0ce170a4..f825c1a58b 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -60,9 +60,11 @@ class LoginType(object):
     EMAIL_IDENTITY = u"m.login.email.identity"
     RECAPTCHA = u"m.login.recaptcha"
     APPLICATION_SERVICE = u"m.login.application_service"
+
+    # Only for C/S API v1
     SHARED_SECRET = u"org.matrix.login.shared_secret"
 
-    HIDDEN_TYPES = [APPLICATION_SERVICE, SHARED_SECRET]
+    HIDDEN_TYPES = [APPLICATION_SERVICE]
 
 
 class EventTypes(object):