From de5f55ac0e049ee260bf64a40d1cf7bdc9d888c0 Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Mon, 14 Aug 2023 07:22:41 +0800 Subject: [PATCH] Use friendlier error message for invalid confirmation code #746 --- src/Controller/CustomerAppAPI/AccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/CustomerAppAPI/AccountController.php b/src/Controller/CustomerAppAPI/AccountController.php index 56961e48..20d628cd 100644 --- a/src/Controller/CustomerAppAPI/AccountController.php +++ b/src/Controller/CustomerAppAPI/AccountController.php @@ -89,7 +89,7 @@ class AccountController extends ApiController 'flag_completed' => false, ]); if (empty($obj)) { - return new ApiResponse(false, 'Invalid request details provided.'); + return new ApiResponse(false, 'Your confirmation code is invalid.'); } // check if a customer record exists for this phone number