Only try user login once
This commit is contained in:
parent
82a7e021ef
commit
0147e29cef
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class UserClient(Thread):
|
|||
LOG.debug('Authenticating user')
|
||||
|
||||
# Give attempts at entering password / selecting user
|
||||
if self.retry >= 2:
|
||||
if self.retry > 0:
|
||||
LOG.error("Too many retries to login.")
|
||||
state.PMS_STATUS = 'Stop'
|
||||
utils.dialog('ok', utils.lang(33001), utils.lang(39023))
|
||||
|
|
Loading…
Reference in a new issue