1
0
mirror of https://github.com/Garmelon/PFERD.git synced 2023-12-21 10:23:01 +01:00

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

@ -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: