ldc-portsalaries/app/Http/Middleware/TrimStrings.php

23 lines
422 B
PHP
Raw Permalink Normal View History

2021-04-22 17:22:26 +02:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
2021-05-08 06:50:19 +02:00
2021-04-22 17:22:26 +02:00
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'current_password',
'password',
2021-05-08 06:50:19 +02:00
'newpassword',
'newpasswordConfirm',
2021-04-22 17:22:26 +02:00
'password_confirmation',
];
}