ldc-portsalaries/app/Http/Middleware/TrimStrings.php
2021-06-07 18:28:25 +02:00

22 lines
422 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 array
*/
protected $except = [
'current_password',
'password',
'newpassword',
'newpasswordConfirm',
'password_confirmation',
];
}