From dc315ffc2f880f231888c3126c7d65a1aee9e90c Mon Sep 17 00:00:00 2001 From: sayliraut Date: Tue, 6 Aug 2024 19:36:55 +0530 Subject: [PATCH] changes --- app/Http/Controllers/APIs/Customer_API/AuthController.php | 2 +- .../Controllers/APIs/RestaurantApi/RestAuthApiController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/APIs/Customer_API/AuthController.php b/app/Http/Controllers/APIs/Customer_API/AuthController.php index 3427bdc..fbf9620 100644 --- a/app/Http/Controllers/APIs/Customer_API/AuthController.php +++ b/app/Http/Controllers/APIs/Customer_API/AuthController.php @@ -164,7 +164,7 @@ class AuthController extends Controller function ($attribute, $value, $fail) { $existingUser = IamPrincipal::where('email_address', $value)->where('principal_type_xid', 3)->whereNull('deleted_at')->exists(); if (!$existingUser) { - $fail('The selected email address is invalid.'); + $fail('Entered e-mail address is not in our system.'); } }, ], diff --git a/app/Http/Controllers/APIs/RestaurantApi/RestAuthApiController.php b/app/Http/Controllers/APIs/RestaurantApi/RestAuthApiController.php index 1890f72..cb8a1be 100644 --- a/app/Http/Controllers/APIs/RestaurantApi/RestAuthApiController.php +++ b/app/Http/Controllers/APIs/RestaurantApi/RestAuthApiController.php @@ -129,7 +129,7 @@ class RestAuthApiController extends Controller function ($attribute, $value, $fail) { $existingUser = IamPrincipal::where('email_address', $value)->where('principal_type_xid', 4)->where('is_active', 1)->whereNull('deleted_at')->exists(); if (!$existingUser) { - $fail('The selected email address is invalid.'); + $fail('Entered e-mail address is not in our system..'); } }, ],