mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
28 lines
600 B
PHP
28 lines
600 B
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com)
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2019. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://opensource.org/licenses/AAL
|
|
*/
|
|
|
|
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 = [
|
|
'password',
|
|
'password_confirmation',
|
|
];
|
|
}
|