From 60a8bde16b8fa683e75b3a261f8a353e3b48d9c9 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Fri, 17 Apr 2020 13:39:16 -0400 Subject: [PATCH] Use the async version of complete_sso_login. (#9) --- matrix_synapse_saml_mozilla/username_picker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_synapse_saml_mozilla/username_picker.py b/matrix_synapse_saml_mozilla/username_picker.py index 7990d4b..3945e30 100644 --- a/matrix_synapse_saml_mozilla/username_picker.py +++ b/matrix_synapse_saml_mozilla/username_picker.py @@ -179,7 +179,7 @@ class SubmitResource(AsyncResource): path=b"/", ) - self._module_api.complete_sso_login( + await self._module_api.complete_sso_login_async( registered_user_id, request, session.client_redirect_url,