Await result in tfa authenticate path

This commit is contained in:
I-Al-Istannen 2021-05-25 19:19:51 +02:00
parent 30be4e29fa
commit 66f0e398a1

View File

@ -539,7 +539,7 @@ class KitShibbolethLogin:
"_eventId_proceed": "", "_eventId_proceed": "",
"j_tokenNumber": tfa_token "j_tokenNumber": tfa_token
} }
return _post(session, url, data) return await _post(session, url, data)
@staticmethod @staticmethod
def _login_successful(soup: BeautifulSoup) -> bool: def _login_successful(soup: BeautifulSoup) -> bool: