Commit Graph

3 Commits

Author SHA1 Message Date
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
Taylor Otwell e23a1d284f add trust proxy middleware 2017-03-29 10:05:16 -05:00
Taylor Otwell 54c5e1585a Trim and convert strings to nulls. 2017-01-17 15:35:36 -06:00