diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php index 99db6d9c..74731668 100644 --- a/app/Http/Controllers/Auth/RegisteredUserController.php +++ b/app/Http/Controllers/Auth/RegisteredUserController.php @@ -98,7 +98,7 @@ public function store(Request $request) 'email' => $request->email ]); return response()->json([ - 'message' => 'Something went wrong: ' . $th->getMessage(), + 'message' => 'Something went wrong. Please contact the admin.', ], 403); } } @@ -279,7 +279,7 @@ public function businessSetup(Request $request) } catch (\Throwable $th) { DB::rollBack(); return response()->json([ - 'message' => 'Something went wrong: ' . $th->getMessage(), + 'message' => 'Something went wrong. Please contact the admin.', ], 403); } }