From 07a088bcb541dcb505ec863bbfb60165a8ba212c Mon Sep 17 00:00:00 2001 From: Kcchouette Date: Tue, 12 Dec 2023 13:14:23 +0100 Subject: [PATCH] Enhancing error message --- app/Http/Controllers/Auth/ForgotPasswordController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index ad96390c1..72bcbea97 100644 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -44,7 +44,7 @@ class ForgotPasswordController extends Controller $email = $request->input('email') ?? ''; $rssToken = $request->input('apikey') ?? ''; if (empty($email) && empty($rssToken)) { - app('smarty.view')->assign('error', 'Missing parameter(email and/or apikey to send password reset'); + app('smarty.view')->assign('error', 'Missing parameter (email and/or apikey) to send password reset'); } else { if (config('captcha.enabled') === true && (! empty(config('captcha.secret')) && ! empty(config('captcha.sitekey')))) { $this->validate($request, [