mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 03:44:24 -05:00
Fix defaults on checking threepids
This commit is contained in:
parent
78e74ab8a1
commit
49e01e5710
@ -479,6 +479,7 @@ class AuthHandler(BaseHandler):
|
|||||||
medium,
|
medium,
|
||||||
threepid_creds["client_secret"],
|
threepid_creds["client_secret"],
|
||||||
sid=threepid_creds["sid"],
|
sid=threepid_creds["sid"],
|
||||||
|
validated=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
threepid = {
|
threepid = {
|
||||||
|
@ -998,7 +998,7 @@ class RegistrationStore(
|
|||||||
client_secret,
|
client_secret,
|
||||||
address=None,
|
address=None,
|
||||||
sid=None,
|
sid=None,
|
||||||
validated=None,
|
validated=True,
|
||||||
):
|
):
|
||||||
"""Gets a session_id and last_send_attempt (if available) for a
|
"""Gets a session_id and last_send_attempt (if available) for a
|
||||||
client_secret/medium/(address|session_id) combo
|
client_secret/medium/(address|session_id) combo
|
||||||
|
Loading…
Reference in New Issue
Block a user