Reduce number of unsuccesful retries to 3 before telling user

This commit is contained in:
tomkat83 2016-03-08 13:52:17 +01:00
parent 15f934f77a
commit 0cefee6cfe

View file

@ -381,8 +381,8 @@ class UserClient(threading.Thread):
settings('userId', value="")
# Give attempts at entering password / selecting user
if self.retry >= 5:
log("Too many retries.", 1)
if self.retry >= 3:
log("Too many retries to login.", -1)
window('emby_serverStatus', value="Stop")
dialog.ok(lang(33001),
lang(39023))