Merge pull request #15194 from spencerrlongg/bug/sc-26247

Fixed A Translation Issue With Auth
This commit is contained in:
snipe 2024-07-31 08:54:09 +01:00 committed by GitHub
commit ca531e85f3
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->all(), $this->validationErrorMessages());
$request->validate($this->rules());
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