NEW_UI: Extend timeout & new login method
This commit is contained in:
parent
038e13a00a
commit
dbdc82102f
2 changed files with 1091 additions and 1082 deletions
|
|
@ -191,6 +191,8 @@
|
|||
DEBUGVAR Timeout
|
||||
DEBUGVAR WhileRetryCounter
|
||||
|
||||
|
||||
|
||||
If alphaPasswordPromptWithKeyboard = "Enable" Then
|
||||
Var Timeout = 0
|
||||
Else
|
||||
|
|
@ -265,7 +267,11 @@
|
|||
|
||||
If WhileRetryCounter < 10 Then
|
||||
DEBUGVAR "WaitPasswordCheck"
|
||||
__CMD "check-password-wait" "-" "-" "-"
|
||||
If EnableBrewIPC = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "check-password-wait" "-" "-" "-"
|
||||
EndIf
|
||||
Var Timeout = 0
|
||||
Var WaitPopup = "Enable"
|
||||
Var FailPopup = "Invisible"
|
||||
|
|
@ -957,11 +963,14 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
; CallCMDFromXML
|
||||
__CMD "check-password" PassPhrase "-" "-"
|
||||
|
||||
Var WaitPopup = "Enable"
|
||||
If EnableBrewIPC = "true" Then
|
||||
; Direct-call-to-brew
|
||||
LoginBrew PassPhrase
|
||||
Else
|
||||
; CallCMDFromXML
|
||||
__CMD "check-password" PassPhrase "-" "-"
|
||||
Var WaitPopup = "Enable"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 60 Then
|
||||
If Timeout > 900 Then
|
||||
StatusLog "exit"
|
||||
|
||||
__CMD "cancel-pw-newui" "-" "-" "-"
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
Var Text1_9 = Text1_9 + " "
|
||||
Var Text1_9 = Text1_9 + SystemDate
|
||||
|
||||
Var BackToMainTime = 60 - Timeout
|
||||
Var BackToMainTime = 900 - Timeout
|
||||
|
||||
DEBUGVAR tmpPassPhrase
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue