mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Inspired by https://github.com/laravel/framework/pull/36415 As JetStream/Fortify uses a `current_password` field when allowing a user to change their password, and as JetStream is one of the starter kits listed on the docs, this PR adds `current_password` in the `$except` option of the `TrimStrings` middleware.