summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2017-03-09 10:18:51 +0000
committerGitHub <noreply@github.com>2017-03-09 10:18:51 +0000
commit663396e45d680b090f74c79734114d55b97dfbf3 (patch)
treeb763e42527ce44ff83c5b4a28c2cbfe4cd396369 /synapse/api/constants.py
parentRemove spurious SQL logging (#1972) (diff)
parentComment when our 3pids would be incomplete (diff)
downloadsynapse-663396e45d680b090f74c79734114d55b97dfbf3.tar.xz
Merge pull request #1971 from matrix-org/dbkr/msisdn_signin
Support registration & login with phone number
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"