Reduce number of unsuccesful retries to 3 before telling user
This commit is contained in:
parent
15f934f77a
commit
0cefee6cfe
1 changed files with 2 additions and 2 deletions
|
@ -381,8 +381,8 @@ class UserClient(threading.Thread):
|
||||||
settings('userId', value="")
|
settings('userId', value="")
|
||||||
|
|
||||||
# Give attempts at entering password / selecting user
|
# Give attempts at entering password / selecting user
|
||||||
if self.retry >= 5:
|
if self.retry >= 3:
|
||||||
log("Too many retries.", 1)
|
log("Too many retries to login.", -1)
|
||||||
window('emby_serverStatus', value="Stop")
|
window('emby_serverStatus', value="Stop")
|
||||||
dialog.ok(lang(33001),
|
dialog.ok(lang(33001),
|
||||||
lang(39023))
|
lang(39023))
|
||||||
|
|
Loading…
Reference in a new issue