pin-reset #139

Merged
lash merged 61 commits from pin-reset into pre-mock-remove 2024-11-02 14:54:20 +01:00
5 changed files with 24 additions and 2 deletions
Showing only changes of commit 3de46cef5e - Show all commits

View File

@ -0,0 +1 @@
Please confirm new PIN for: {{.retrieve_blocked_number}}

View File

@ -0,0 +1,13 @@
LOAD retrieve_blocked_number 0
MAP retrieve_blocked_number
CATCH invalid_others_pin flag_valid_pin 0
LOAD save_temporary_pin 6
RELOAD save_temporary_pin
CATCH pin_reset_result flag_account_authorized 1
MOUT back 0
HALT
INCMP _ 0
LOAD check_pin_mismatch 0
RELOAD check_pin_mismatch
CATCH others_pin_mismatch flag_pin_mismatch 1
INCMP pin_entry *

View File

@ -3,5 +3,3 @@ MOUT back 0
HALT
INCMP _ 0
INCMP * pin_reset_success

View File

@ -0,0 +1 @@
Enter other's phone number:

View File

@ -0,0 +1,9 @@
CATCH no_admin_privilege flag_admin_privilege 0
LOAD reset_account_authorized 6
RELOAD reset_account_authorized
MOUT back 0
HALT
INCMP _ 0
LOAD validate_blocked_number 0
RELOAD validate_blocked_number
INCMP enter_others_new_pin *