From 66f0e398a10b4d0ec1595f20dcc169a295e56059 Mon Sep 17 00:00:00 2001
From: I-Al-Istannen <i-al-istannen@users.noreply.github.com>
Date: Tue, 25 May 2021 19:19:51 +0200
Subject: [PATCH] Await result in tfa authenticate path

---
 PFERD/crawl/ilias/kit_ilias_web_crawler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PFERD/crawl/ilias/kit_ilias_web_crawler.py b/PFERD/crawl/ilias/kit_ilias_web_crawler.py
index 6013d77..fa68ee7 100644
--- a/PFERD/crawl/ilias/kit_ilias_web_crawler.py
+++ b/PFERD/crawl/ilias/kit_ilias_web_crawler.py
@@ -539,7 +539,7 @@ class KitShibbolethLogin:
             "_eventId_proceed": "",
             "j_tokenNumber": tfa_token
         }
-        return _post(session, url, data)
+        return await _post(session, url, data)
 
     @staticmethod
     def _login_successful(soup: BeautifulSoup) -> bool: