mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 12:03:50 +01:00
Fix warnings about losing log context during UI auth. (#7688)
This commit is contained in:
parent
d0a43d431e
commit
2d11ea385c
2 changed files with 2 additions and 1 deletions
1
changelog.d/7688.bugfix
Normal file
1
changelog.d/7688.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix "Starting db txn 'get_completed_ui_auth_stages' from sentinel context" warning. The bug was introduced in 1.13.0rc1.
|
|
@ -186,7 +186,7 @@ class UIAuthWorkerStore(SQLBaseStore):
|
|||
# The clientdict gets stored as JSON.
|
||||
clientdict_json = json.dumps(clientdict)
|
||||
|
||||
self.db.simple_update_one(
|
||||
await self.db.simple_update_one(
|
||||
table="ui_auth_sessions",
|
||||
keyvalues={"session_id": session_id},
|
||||
updatevalues={"clientdict": clientdict_json},
|
||||
|
|
Loading…
Reference in a new issue