From c1eee2cc72f7e12cbe5b878a001da4a300771164 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 26 Oct 2022 12:18:29 -0700 Subject: [PATCH] Corrected string for invalid current password Signed-off-by: snipe --- app/Http/Controllers/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 665a455c81..739376e3ab 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -164,7 +164,7 @@ class ProfileController extends Controller $validator = \Validator::make($request->all(), $rules); $validator->after(function ($validator) use ($request, $user) { if (! Hash::check($request->input('current_password'), $user->password)) { - $validator->errors()->add('current_password', trans('validation.hashed_pass')); + $validator->errors()->add('current_password', trans('validation.custom.hashed_pass')); } // This checks to make sure that the user's password isn't the same as their username,