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 Timeout
|
||||||
DEBUGVAR WhileRetryCounter
|
DEBUGVAR WhileRetryCounter
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If alphaPasswordPromptWithKeyboard = "Enable" Then
|
If alphaPasswordPromptWithKeyboard = "Enable" Then
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Else
|
Else
|
||||||
|
|
@ -265,7 +267,11 @@
|
||||||
|
|
||||||
If WhileRetryCounter < 10 Then
|
If WhileRetryCounter < 10 Then
|
||||||
DEBUGVAR "WaitPasswordCheck"
|
DEBUGVAR "WaitPasswordCheck"
|
||||||
__CMD "check-password-wait" "-" "-" "-"
|
If EnableBrewIPC = "true" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
__CMD "check-password-wait" "-" "-" "-"
|
||||||
|
EndIf
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
Var WaitPopup = "Enable"
|
Var WaitPopup = "Enable"
|
||||||
Var FailPopup = "Invisible"
|
Var FailPopup = "Invisible"
|
||||||
|
|
@ -957,11 +963,14 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
|
If EnableBrewIPC = "true" Then
|
||||||
; CallCMDFromXML
|
; Direct-call-to-brew
|
||||||
__CMD "check-password" PassPhrase "-" "-"
|
LoginBrew PassPhrase
|
||||||
|
Else
|
||||||
Var WaitPopup = "Enable"
|
; CallCMDFromXML
|
||||||
|
__CMD "check-password" PassPhrase "-" "-"
|
||||||
|
Var WaitPopup = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
If Timeout > 60 Then
|
If Timeout > 900 Then
|
||||||
StatusLog "exit"
|
StatusLog "exit"
|
||||||
|
|
||||||
__CMD "cancel-pw-newui" "-" "-" "-"
|
__CMD "cancel-pw-newui" "-" "-" "-"
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
Var Text1_9 = Text1_9 + " "
|
Var Text1_9 = Text1_9 + " "
|
||||||
Var Text1_9 = Text1_9 + SystemDate
|
Var Text1_9 = Text1_9 + SystemDate
|
||||||
|
|
||||||
Var BackToMainTime = 60 - Timeout
|
Var BackToMainTime = 900 - Timeout
|
||||||
|
|
||||||
DEBUGVAR tmpPassPhrase
|
DEBUGVAR tmpPassPhrase
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue