diff --git a/services/registration/confirm_pin_change b/services/registration/confirm_pin_change new file mode 100644 index 0000000..398a827 --- /dev/null +++ b/services/registration/confirm_pin_change @@ -0,0 +1 @@ +Confirm your new PIN: diff --git a/services/registration/confirm_pin_change.vis b/services/registration/confirm_pin_change.vis new file mode 100644 index 0000000..7691e01 --- /dev/null +++ b/services/registration/confirm_pin_change.vis @@ -0,0 +1,7 @@ +CATCH invalid_pin flag_valid_pin 0 +MOUT back 0 +HALT +INCMP _ 0 +INCMP * pin_reset_success + + diff --git a/services/registration/invalid_pin b/services/registration/invalid_pin new file mode 100644 index 0000000..dd984ea --- /dev/null +++ b/services/registration/invalid_pin @@ -0,0 +1 @@ +The PIN you entered is invalid.The PIN must be different from your current PIN.For help call +254757628885 \ No newline at end of file diff --git a/services/registration/invalid_pin.vis b/services/registration/invalid_pin.vis new file mode 100644 index 0000000..3790a08 --- /dev/null +++ b/services/registration/invalid_pin.vis @@ -0,0 +1,3 @@ +MOUT back 0 +HALT +INCMP _ 0 diff --git a/services/registration/new_pin b/services/registration/new_pin new file mode 100644 index 0000000..bae2814 --- /dev/null +++ b/services/registration/new_pin @@ -0,0 +1 @@ +Enter a new four number pin diff --git a/services/registration/new_pin.vis b/services/registration/new_pin.vis new file mode 100644 index 0000000..939f2d9 --- /dev/null +++ b/services/registration/new_pin.vis @@ -0,0 +1,13 @@ +LOAD authorize_account 12 +LOAD save_temporary_pin 6 +LOAD verify_new_pin 0 +RELOAD authorize_account +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH old_pin flag_allow_update 0 +MOUT back 0 +HALT +INCMP _ 0 +RELOAD save_temporary_pin +RELOAD verify_new_pin +INCMP * confirm_pin_change + diff --git a/services/registration/old_pin b/services/registration/old_pin new file mode 100644 index 0000000..2c64d42 --- /dev/null +++ b/services/registration/old_pin @@ -0,0 +1 @@ +Enter your old PIN diff --git a/services/registration/old_pin.vis b/services/registration/old_pin.vis new file mode 100644 index 0000000..1e99f4f --- /dev/null +++ b/services/registration/old_pin.vis @@ -0,0 +1,7 @@ +LOAD reset_allow_update 0 +MOUT back 0 +HALT +RELOAD reset_allow_update +INCMP _ 0 +INCMP new_pin * + diff --git a/services/registration/pin_management.vis b/services/registration/pin_management.vis index ecd5a8c..3b33dad 100644 --- a/services/registration/pin_management.vis +++ b/services/registration/pin_management.vis @@ -4,3 +4,5 @@ MOUT guard_pin 3 MOUT back 0 HALT INCMP _ 0 +INCMP old_pin 1 + diff --git a/services/registration/pin_reset_mismatch b/services/registration/pin_reset_mismatch new file mode 100644 index 0000000..dc0236b --- /dev/null +++ b/services/registration/pin_reset_mismatch @@ -0,0 +1 @@ +The PIN is not a match. Try again diff --git a/services/registration/pin_reset_mismatch.vis b/services/registration/pin_reset_mismatch.vis new file mode 100644 index 0000000..5dc7e7c --- /dev/null +++ b/services/registration/pin_reset_mismatch.vis @@ -0,0 +1,6 @@ +MOUT retry 1 +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 new file mode 100644 index 0000000..e9326ec --- /dev/null +++ b/services/registration/pin_reset_success @@ -0,0 +1 @@ +Your PIN change request has been successful diff --git a/services/registration/pin_reset_success.vis b/services/registration/pin_reset_success.vis new file mode 100644 index 0000000..9873736 --- /dev/null +++ b/services/registration/pin_reset_success.vis @@ -0,0 +1,10 @@ +LOAD confirm_pin_change 0 +RELOAD confirm_pin_change +CATCH pin_reset_mismatch flag_pin_mismatch 1 +MOUT back 0 +MOUT quit 9 +HALT +INCMP _ 0 +INCMP quit 9 + +