Revert "Fixed A Translation Issue With Auth"

This commit is contained in:
Spencer Long 2024-07-31 13:21:58 -05:00 committed by GitHub
parent fffcbdc44d
commit 07f5cdb95f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ class ResetPasswordController extends Controller
'password.not_in' => trans('validation.disallow_same_pwd_as_user_fields'),
];
$request->validate($this->rules());
$request->validate($this->rules(), $request->all(), $this->validationErrorMessages());
Log::debug('Checking if '.$request->input('username').' exists');
// Check to see if the user even exists - we'll treat the response the same to prevent user sniffing