You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
381 B

2 years ago
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
  4. class TrimStrings extends Middleware
  5. {
  6. /**
  7. * The names of the attributes that should not be trimmed.
  8. *
  9. * @var array<int, string>
  10. */
  11. protected $except = [
  12. 'current_password',
  13. 'password',
  14. 'password_confirmation',
  15. ];
  16. }