Removed sleeping after GIA SSO login

This commit is contained in:
nocturn9x 2021-10-19 12:30:21 +02:00
parent e4ecb3be40
commit 94e5911271
1 changed files with 0 additions and 1 deletions

View File

@ -160,7 +160,6 @@ async def login_with_gia(
await page.type('#IDToken2', password, delay=100)
logger.debug("Submitting login form")
await page.click('[type="button"]')
await asyncio.sleep(2) # We sleep a couple of seconds to make sure authentication worked
if "failed" in (await page.title()).lower():
logger.error("SSO authentication failed: invalid credentials")
return ""