mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:36:02 -04:00
Add shared secret auth into register v2 and switch the script over.
This commit is contained in:
parent
c5bf0343e8
commit
70a84f17f3
3 changed files with 61 additions and 13 deletions
|
@ -60,9 +60,11 @@ class LoginType(object):
|
|||
EMAIL_IDENTITY = u"m.login.email.identity"
|
||||
RECAPTCHA = u"m.login.recaptcha"
|
||||
APPLICATION_SERVICE = u"m.login.application_service"
|
||||
|
||||
# Only for C/S API v1
|
||||
SHARED_SECRET = u"org.matrix.login.shared_secret"
|
||||
|
||||
HIDDEN_TYPES = [APPLICATION_SERVICE, SHARED_SECRET]
|
||||
HIDDEN_TYPES = [APPLICATION_SERVICE]
|
||||
|
||||
|
||||
class EventTypes(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue