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:51:19 +0100
committerDavid Baker <dave@matrix.org>2015-04-02 17:51:19 +0100
commit4eb6d66b45356efcc87089cb52ca6f51c98cd798 (patch)
tree45028c69d9cf1dd183817f48f2790b2fc19946af /synapse/api/constants.py
parentThrow sensible errors on not-json when allowing empty body (diff)
downloadsynapse-4eb6d66b45356efcc87089cb52ca6f51c98cd798.tar.xz
Add app service auth back in to v2 register
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index f825c1a58b..d29c2dde01 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -59,13 +59,11 @@ class LoginType(object):
     EMAIL_URL = u"m.login.email.url"
     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
+    APPLICATION_SERVICE = u"m.login.application_service"
     SHARED_SECRET = u"org.matrix.login.shared_secret"
 
-    HIDDEN_TYPES = [APPLICATION_SERVICE]
-
 
 class EventTypes(object):
     Member = "m.room.member"