MIF_E31222691/app/Http/Middleware
Rodrigo Pedra Brum 03be0afb44
Don't trim `current_password` (#5546)
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.
2021-03-01 07:38:37 -06:00
..
Authenticate.php Update redirectTo return type PHPDoc 2019-12-14 11:48:14 +01:00
EncryptCookies.php add trust proxy middleware 2017-03-29 10:05:16 -05:00
PreventRequestsDuringMaintenance.php rename class 2020-07-14 15:57:11 -05:00
RedirectIfAuthenticated.php type hint the middleware Request (#5438) 2020-10-02 08:31:13 -05:00
TrimStrings.php Don't trim `current_password` (#5546) 2021-03-01 07:38:37 -06:00
TrustHosts.php add basic trust host middleware 2020-05-18 16:50:22 -05:00
TrustProxies.php Update TrustProxies.php (#5514) 2021-01-12 11:18:35 -06:00
VerifyCsrfToken.php remove unnecessary variable 2019-12-20 14:10:38 -06:00