TrimStrings.php 307 B

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