Fix OTP not working in very custom start

This commit is contained in:
augustin64 2024-02-23 08:49:00 +01:00
parent cc051aea4c
commit 9682b95001
1 changed files with 3 additions and 0 deletions

3
V6.py
View File

@ -836,6 +836,9 @@ def very_custom_start(json):
cred = g._cred[i] cred = g._cred[i]
g._mail = cred[0] g._mail = cred[0]
g._password = cred[1] g._password = cred[1]
if cred[2] != '':
g._otp = TOTP(cred[2])
start = False start = False
for j in ["unban", "tout", "pc", "mobile", "daily"]: for j in ["unban", "tout", "pc", "mobile", "daily"]:
try: try: