summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-03-13 17:27:51 +0000
committerDavid Baker <dave@matrix.org>2017-03-13 17:27:51 +0000
commit73a5f06652c6966eead46eded1d68f6f3522b54a (patch)
treec55477088549d6dceac827644a4340023c1f3adc /synapse/api/constants.py
parentMerge pull request #1990 from matrix-org/rav/log_config_comments (diff)
downloadsynapse-73a5f06652c6966eead46eded1d68f6f3522b54a.tar.xz
Support registration / login with phone number
Changes from https://github.com/matrix-org/synapse/pull/1971
Diffstat (limited to 'synapse/api/constants.py')
-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 ca23c9c460..489efb7f86 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 # Copyright 2014-2016 OpenMarket Ltd
+# Copyright 2017 Vector Creations Ltd
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -44,6 +45,7 @@ class JoinRules(object):
 class LoginType(object):
     PASSWORD = u"m.login.password"
     EMAIL_IDENTITY = u"m.login.email.identity"
+    MSISDN = u"m.login.msisdn"
     RECAPTCHA = u"m.login.recaptcha"
     DUMMY = u"m.login.dummy"