diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2022-01-20 19:19:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 19:19:40 +0100 |
commit | bfe6d5553abc5d812bce22488d9ea5137d2b9416 (patch) | |
tree | a47e83036f523861d7f9dd6288f0f73148d853dd /synapse/handlers/auth.py | |
parent | Fix redirecting to the webclient for non-HTTP(S) web_client_location. (#11783) (diff) | |
download | synapse-bfe6d5553abc5d812bce22488d9ea5137d2b9416.tar.xz |
Correctly await on_logged_out callbacks (#11786)
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
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 |