summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-13 15:23:37 +0000
committerErik Johnston <erik@matrix.org>2015-03-13 15:23:37 +0000
commit69135f59aa87962b848f9f19cad6adc625821ba8 (patch)
tree24929e7372491c2bad5b3bacdff2daa5f3471d3f /synapse/api/constants.py
parentDisable registration by default (diff)
downloadsynapse-69135f59aa87962b848f9f19cad6adc625821ba8.tar.xz
Implement registering with shared secret.
Diffstat (limited to 'synapse/api/constants.py')
-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 420f963d91..b16bf4247d 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -60,6 +60,7 @@ class LoginType(object):
     EMAIL_IDENTITY = u"m.login.email.identity"
     RECAPTCHA = u"m.login.recaptcha"
     APPLICATION_SERVICE = u"m.login.application_service"
+    SHARED_SECRET = u"org.matrix.login.shared_secret"
 
 
 class EventTypes(object):