Files
ponzi/app/Http/Middleware/TrimStrings.php
Bram 7bf32280e2 [8.x] Add types to arrays in boilerplate (#5738)
* Add more specific types

* Update Authenticate.php

* Update Authenticate.php
2021-12-02 14:40:24 -06:00

20 lines
371 B
PHP

<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var string[]
*/
protected $except = [
'current_password',
'password',
'password_confirmation',
];
}