setup pin reset nodes

This commit is contained in:
Carlosokumu 2024-10-28 15:45:08 +03:00
parent 0cc0bdf9f7
commit 3de46cef5e
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953
5 changed files with 24 additions and 2 deletions

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 HALT
INCMP _ 0 INCMP _ 0
INCMP * pin_reset_success 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 *