From f8c258a3b4b70d3c1822512faf8b9d55cef8ecfb Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Wed, 9 Apr 2025 16:49:04 +0300 Subject: [PATCH] allow the user to quit and move to invalid_pin node if the given input is invalid --- services/registration/create_pin.vis | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/registration/create_pin.vis b/services/registration/create_pin.vis index 40989ec..b329fc3 100644 --- a/services/registration/create_pin.vis +++ b/services/registration/create_pin.vis @@ -2,8 +2,8 @@ LOAD create_account 0 CATCH account_creation_failed flag_account_creation_failed 1 MOUT exit 0 HALT +INCMP quit 0 LOAD save_temporary_pin 6 RELOAD save_temporary_pin -CATCH . flag_incorrect_pin 1 -INCMP quit 0 +CATCH invalid_pin flag_invalid_pin 1 INCMP confirm_create_pin *