mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 23:42:33 +01:00
Fix defaults on checking threepids
This commit is contained in:
parent
78e74ab8a1
commit
49e01e5710
2 changed files with 2 additions and 1 deletions
|
@ -479,6 +479,7 @@ class AuthHandler(BaseHandler):
|
|||
medium,
|
||||
threepid_creds["client_secret"],
|
||||
sid=threepid_creds["sid"],
|
||||
validated=True,
|
||||
)
|
||||
|
||||
threepid = {
|
||||
|
|
|
@ -998,7 +998,7 @@ class RegistrationStore(
|
|||
client_secret,
|
||||
address=None,
|
||||
sid=None,
|
||||
validated=None,
|
||||
validated=True,
|
||||
):
|
||||
"""Gets a session_id and last_send_attempt (if available) for a
|
||||
client_secret/medium/(address|session_id) combo
|
||||
|
|
Loading…
Reference in a new issue