From 8313ca35090e8b3a6608ebf6a7b91db58eeb64d1 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 7 Oct 2024 23:29:30 +0300 Subject: [PATCH] update affected vis and template files --- services/registration/confirm_pin_change | 2 +- services/registration/confirm_pin_change.vis | 3 +-- services/registration/edit_profile.vis | 2 ++ services/registration/language_changed.vis | 1 + services/registration/new_pin | 2 +- services/registration/new_pin.vis | 11 +++++------ services/registration/new_pin_swa | 3 +-- services/registration/old_pin | 2 +- services/registration/old_pin.vis | 6 ++++-- services/registration/pin_management.vis | 2 +- services/registration/pin_reset_mismatch.vis | 1 - services/registration/pin_reset_success | 2 +- services/registration/pin_reset_success.vis | 4 +--- services/registration/profile_update_success | 2 +- 14 files changed, 21 insertions(+), 22 deletions(-) diff --git a/services/registration/confirm_pin_change b/services/registration/confirm_pin_change index 398a827..2e1b83e 100644 --- a/services/registration/confirm_pin_change +++ b/services/registration/confirm_pin_change @@ -1 +1 @@ -Confirm your new PIN: +Confirm your new PIN: \ No newline at end of file diff --git a/services/registration/confirm_pin_change.vis b/services/registration/confirm_pin_change.vis index 7691e01..5f5b1f7 100644 --- a/services/registration/confirm_pin_change.vis +++ b/services/registration/confirm_pin_change.vis @@ -2,6 +2,5 @@ CATCH invalid_pin flag_valid_pin 0 MOUT back 0 HALT INCMP _ 0 -INCMP * pin_reset_success - +INCMP pin_reset_success * diff --git a/services/registration/edit_profile.vis b/services/registration/edit_profile.vis index 9d45ec9..a39fff4 100644 --- a/services/registration/edit_profile.vis +++ b/services/registration/edit_profile.vis @@ -1,4 +1,5 @@ LOAD reset_account_authorized 16 +RELOAD reset_account_authorized LOAD reset_allow_update 0 RELOAD reset_allow_update MOUT edit_name 1 @@ -18,3 +19,4 @@ INCMP enter_yob 4 INCMP enter_location 5 INCMP enter_offerings 6 INCMP view_profile 7 + diff --git a/services/registration/language_changed.vis b/services/registration/language_changed.vis index 832ef22..109b237 100644 --- a/services/registration/language_changed.vis +++ b/services/registration/language_changed.vis @@ -1,3 +1,4 @@ +RELOAD reset_account_authorized MOUT back 0 MOUT quit 9 HALT diff --git a/services/registration/new_pin b/services/registration/new_pin index bae2814..30536ea 100644 --- a/services/registration/new_pin +++ b/services/registration/new_pin @@ -1 +1 @@ -Enter a new four number pin +Enter a new four number PIN: \ No newline at end of file diff --git a/services/registration/new_pin.vis b/services/registration/new_pin.vis index 29013a9..804a5f6 100644 --- a/services/registration/new_pin.vis +++ b/services/registration/new_pin.vis @@ -1,13 +1,12 @@ -LOAD authorize_account 12 -RELOAD authorize_account -CATCH incorrect_pin flag_incorrect_pin 1 -CATCH old_pin flag_allow_update 0 +CATCH _ flag_allow_update 0 MOUT back 0 HALT INCMP _ 0 LOAD save_temporary_pin 6 -LOAD verify_new_pin 0 RELOAD save_temporary_pin +LOAD verify_new_pin 8 RELOAD verify_new_pin -INCMP * confirm_pin_change +CATCH incorrect_pin flag_incorrect_pin 1 +INCMP confirm_pin_change * + diff --git a/services/registration/new_pin_swa b/services/registration/new_pin_swa index 1ec32d9..a2dc212 100644 --- a/services/registration/new_pin_swa +++ b/services/registration/new_pin_swa @@ -1,2 +1 @@ -Weka PIN mpya ya nne nambari: - +Weka PIN mpya ya nne nambari: \ No newline at end of file diff --git a/services/registration/old_pin b/services/registration/old_pin index 2c64d42..798d1ce 100644 --- a/services/registration/old_pin +++ b/services/registration/old_pin @@ -1 +1 @@ -Enter your old PIN +Enter your old PIN \ No newline at end of file diff --git a/services/registration/old_pin.vis b/services/registration/old_pin.vis index 1e99f4f..52379eb 100644 --- a/services/registration/old_pin.vis +++ b/services/registration/old_pin.vis @@ -1,7 +1,9 @@ LOAD reset_allow_update 0 +RELOAD reset_allow_update MOUT back 0 HALT -RELOAD reset_allow_update +LOAD authorize_account 12 +RELOAD authorize_account +CATCH incorrect_pin flag_incorrect_pin 1 INCMP _ 0 INCMP new_pin * - diff --git a/services/registration/pin_management.vis b/services/registration/pin_management.vis index 3b33dad..30f66bc 100644 --- a/services/registration/pin_management.vis +++ b/services/registration/pin_management.vis @@ -4,5 +4,5 @@ MOUT guard_pin 3 MOUT back 0 HALT INCMP _ 0 -INCMP old_pin 1 +INCMP old_pin 1 diff --git a/services/registration/pin_reset_mismatch.vis b/services/registration/pin_reset_mismatch.vis index 5dc7e7c..b0d4a44 100644 --- a/services/registration/pin_reset_mismatch.vis +++ b/services/registration/pin_reset_mismatch.vis @@ -3,4 +3,3 @@ MOUT quit 9 HALT INCMP confirm_pin_change 1 INCMP quit 9 - diff --git a/services/registration/pin_reset_success b/services/registration/pin_reset_success index e9326ec..47a0fcb 100644 --- a/services/registration/pin_reset_success +++ b/services/registration/pin_reset_success @@ -1 +1 @@ -Your PIN change request has been successful +Your PIN change request has been successful \ No newline at end of file diff --git a/services/registration/pin_reset_success.vis b/services/registration/pin_reset_success.vis index c942519..9a5aedb 100644 --- a/services/registration/pin_reset_success.vis +++ b/services/registration/pin_reset_success.vis @@ -1,10 +1,8 @@ LOAD confirm_pin_change 0 RELOAD confirm_pin_change -CATCH pin_reset_mismatch flag_pin_mismatch 1 +CATCH pin_reset_mismatch flag_pin_mismatch 1 MOUT back 0 MOUT quit 9 HALT INCMP main 0 INCMP quit 9 - - diff --git a/services/registration/profile_update_success b/services/registration/profile_update_success index 652942a..d8d5706 100644 --- a/services/registration/profile_update_success +++ b/services/registration/profile_update_success @@ -1 +1 @@ -Profile updated successfully +Profile updated successfully \ No newline at end of file