fix auth
This commit is contained in:
2
auth.py
2
auth.py
@ -15,7 +15,7 @@ async def main():
|
||||
print(udid, "no auth response")
|
||||
continue
|
||||
print(udid, "auth success")
|
||||
if not client.auth_check(info.user):
|
||||
if not await client.auth_check(info.pswd):
|
||||
code = input(f"Enter the code for {udid}: ")
|
||||
if not await client.auth_twostep(info.user, info.pswd, code):
|
||||
print(udid, "no twostep response")
|
||||
|
||||
Reference in New Issue
Block a user