use the self_reset_pin node to reset PINs for accounts with a flag_account_pin_reset

This commit is contained in:
Alfred Kamanda 2025-04-09 15:11:51 +03:00
parent 33c376c971
commit 477f3a307a
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
4 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,7 @@ LOAD check_blocked_status 1
RELOAD check_blocked_status
LOAD check_account_created 2
RELOAD check_account_created
CATCH self_reset_pin flag_account_pin_reset 1
CATCH blocked_account flag_account_blocked 1
CATCH select_language flag_language_set 0
CATCH terms flag_account_created 0

View File

@ -0,0 +1,2 @@
A PIN reset has been done on your account.
Please enter a new four number PIN:

View File

@ -0,0 +1,8 @@
LOAD reset_invalid_pin 6
HALT
LOAD save_temporary_pin 1
RELOAD save_temporary_pin
LOAD verify_new_pin 2
RELOAD verify_new_pin
CATCH invalid_pin flag_valid_pin 0
INCMP confirm_self_pin_reset *

View File

@ -0,0 +1,2 @@
Uwekaji upya wa PIN umefanyika kwenye akaunti yako.
Tafadhali weka PIN mpya ya nambari nne: