Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

Commit 6100941

Browse files
authored
Merge pull request #23 from BrianMwit/patch-1
Fix WSS: login2fa() does not trigger wss connect
2 parents ed30f56 + d81660c commit 6100941

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vrcpy/wss.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ async def login(self, username, password):
356356

357357
async def login2fa(self, username, password, code=None, verify=False):
358358
await super().login2fa(username, password, code, verify)
359+
if self.loggedIn:
360+
self.connect()
359361

360362
async def verify2fa(self, code):
361363
await super().verify2fa(code)

0 commit comments

Comments
 (0)