summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-01-20 19:19:40 +0100
committerGitHub <noreply@github.com>2022-01-20 19:19:40 +0100
commitbfe6d5553abc5d812bce22488d9ea5137d2b9416 (patch)
treea47e83036f523861d7f9dd6288f0f73148d853dd /synapse
parentFix redirecting to the webclient for non-HTTP(S) web_client_location. (#11783) (diff)
downloadsynapse-bfe6d5553abc5d812bce22488d9ea5137d2b9416.tar.xz
Correctly await on_logged_out callbacks (#11786)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py

index 2389c9ac52..bd1a322563 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py
@@ -2281,7 +2281,7 @@ class PasswordAuthProvider: # call all of the on_logged_out callbacks for callback in self.on_logged_out_callbacks: try: - callback(user_id, device_id, access_token) + await callback(user_id, device_id, access_token) except Exception as e: logger.warning("Failed to run module API callback %s: %s", callback, e) continue