setup pin reset nodes
This commit is contained in:
parent
0cc0bdf9f7
commit
3de46cef5e
1
services/registration/confirm_others_new_pin
Normal file
1
services/registration/confirm_others_new_pin
Normal file
@ -0,0 +1 @@
|
||||
Please confirm new PIN for: {{.retrieve_blocked_number}}
|
13
services/registration/confirm_others_new_pin.vis
Normal file
13
services/registration/confirm_others_new_pin.vis
Normal 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 *
|
@ -3,5 +3,3 @@ MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
INCMP * pin_reset_success
|
||||
|
||||
|
||||
|
1
services/registration/enter_other_number
Normal file
1
services/registration/enter_other_number
Normal file
@ -0,0 +1 @@
|
||||
Enter other's phone number:
|
9
services/registration/enter_other_number.vis
Normal file
9
services/registration/enter_other_number.vis
Normal 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 *
|
Loading…
Reference in New Issue
Block a user