diff options
author | Erik Johnston <erikj@jki.re> | 2017-03-15 09:59:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 09:59:54 +0000 |
commit | 7827251daf0af9dbb1156819c6673e0fe6047181 (patch) | |
tree | 756500fb5640933185b85bd71c5a04063f709e48 /synapse/api | |
parent | Merge pull request #1992 from matrix-org/rav/fix_media_loop (diff) | |
parent | Use extend instead of += (diff) | |
download | synapse-7827251daf0af9dbb1156819c6673e0fe6047181.tar.xz |
Merge pull request #1994 from matrix-org/dbkr/msisdn_signin_2
Phone number registration / login support v2
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/constants.py | 2 |
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" |