Slightly delay opening the activation page during OAuth login process

This commit is contained in:
DevilXD committed 2024-09-15 14:55:11 +02:00
1 parent ea4437b9d2
commit 89753dcf39
1 file changed
+1
+1
View File
@@ -586,6 +586,7 @@ class LoginForm:
self._manager.print(_("gui", "login", "request"))
await self.wait_for_login_press()
self._manager.print(f"Enter this code on the Twitch's device activation page: {user_code}")
await asyncio.sleep(4)
webopen("https://www.twitch.tv/activate")
def update(self, status: str, user_id: int | None):