Downgraded error log

password reset void

Change-Id: Id169bd615c11c8a56ab6f42d452ce28cf069cba5
Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
smarcet 2020-04-02 22:51:17 -03:00
parent adcfc05de4
commit d33be7c867
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,7 @@ final class ResetPasswordController extends Controller
if($request->isRedeem()){
throw new ValidationException("Request is already redeem.");
}
return view('auth.passwords.reset')->with(
[
'token' => $token,
@ -82,6 +83,9 @@ final class ResetPasswordController extends Controller
catch (EntityNotFoundException $ex){
Log::warning($ex);
}
catch (ValidationException $ex){
Log::warning($ex);
}
catch(\Exception $ex){
Log::error($ex);
}

View File

@ -98,4 +98,6 @@ return [
],
],
// in seconds
'password_reset_lifetime' => env('AUTH_PASSWORD_RESET_LIFETIME', 600),
];