summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-30 18:13:10 +0100
committerDavid Baker <dave@matrix.org>2015-03-30 18:13:10 +0100
commit59bf16eddcb793705ee6bc243a2158824f7e05c8 (patch)
tree70ebcd5084cddbc9a01d968b890960aba15bf91c /synapse/api
parentpep8 (diff)
downloadsynapse-59bf16eddcb793705ee6bc243a2158824f7e05c8.tar.xz
New registration for C/S API v2. Only ReCAPTCHA working currently.
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index b16bf4247d..3e0ce170a4 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -62,6 +62,8 @@ class LoginType(object):
     APPLICATION_SERVICE = u"m.login.application_service"
     SHARED_SECRET = u"org.matrix.login.shared_secret"
 
+    HIDDEN_TYPES = [APPLICATION_SERVICE, SHARED_SECRET]
+
 
 class EventTypes(object):
     Member = "m.room.member"