2020-04-10 20:32:12 +02:00
|
|
|
<?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.
|
|
|
|
*
|
2023-02-13 15:56:20 +01:00
|
|
|
* @var array<int, string>
|
2020-04-10 20:32:12 +02:00
|
|
|
*/
|
|
|
|
protected $except = [
|
|
|
|
'password',
|
|
|
|
'password_confirmation',
|
|
|
|
];
|
|
|
|
}
|