Compare commits

...

3 Commits

Author SHA1 Message Date
c4cab444ad
repeat same node on invalid input 2025-02-20 21:26:53 +03:00
b5ade9112e
catch incorrect pin when resetting for others 2025-02-20 21:21:20 +03:00
3b9184e852
check for back 2025-02-20 21:20:41 +03:00
3 changed files with 3 additions and 2 deletions

View File

@ -416,7 +416,7 @@ func (h *MenuHandlers) CheckBlockedNumPinMisMatch(ctx context.Context, sym strin
if !ok {
return res, fmt.Errorf("missing session")
}
if h.st.Back() {
if string(input) == "0" {
res.FlagReset = append(res.FlagReset, flag_pin_mismatch)
return res, nil
}

View File

@ -1,4 +1,4 @@
CATCH pin_entry flag_incorrect_pin 1
CATCH incorrect_pin flag_incorrect_pin 1
RELOAD retrieve_blocked_number
MAP retrieve_blocked_number
CATCH invalid_others_pin flag_valid_pin 0

View File

@ -3,3 +3,4 @@ MOUT quit 9
HALT
INCMP _ 1
INCMP quit 9
INCMP . *