🐛 Fix dead loop when no 2fa enabled

Co-authored-by: sam01101 <lau.sam745033858@gmail.com>
This commit is contained in:
07031218 2021-12-17 11:05:10 +08:00 committed by GitHub
parent 2a655ca6da
commit defdfd7ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -402,6 +402,8 @@ login_screen() {
screen -x -S userbot -p 0 -X stuff "$twotimepwd"
screen -x -S userbot -p 0 -X stuff $'\n'
break
else
break
fi
done
sleep 5