diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf53221..efa2f91d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.5.10...master) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.5.11...master) + + +## [v8.5.11 (2021-02-23)](https://github.com/laravel/laravel/compare/v8.5.10...v8.5.11) + +### Fixed +- Don't flash 'current_password' input ([#5541](https://github.com/laravel/laravel/pull/5541)) ## [v8.5.10 (2021-02-16)](https://github.com/laravel/laravel/compare/v8.5.9...v8.5.10) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index f9644add..c18c43cc 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -22,6 +22,7 @@ class Handler extends ExceptionHandler * @var array */ protected $dontFlash = [ + 'current_password', 'password', 'password_confirmation', ]; diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 99dfdcb6..3510ed67 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -32,7 +32,7 @@ class UserFactory extends Factory } /** - * Define the model's unverified state. + * Indicate that the model's email address should be unverified. * * @return \Illuminate\Database\Eloquent\Factories\Factory */