summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-02-14 15:05:55 +0000
committerDavid Baker <dave@matrix.org>2017-02-14 15:05:55 +0000
commitce3e583d94c9fb3ee98365e07f4695d1b9451434 (patch)
tree90caf83d6d6d4eba63d5db1724feba41499fcf2d /synapse/api
parentMerge pull request #1891 from matrix-org/dbkr/remove_unused_constants (diff)
downloadsynapse-ce3e583d94c9fb3ee98365e07f4695d1b9451434.tar.xz
WIP support for msisdn 3pid proxy methods
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 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"