tethys/app/Http/Middleware/TrimStrings.php

27 lines
468 B
PHP
Raw Permalink Normal View History

2018-08-06 12:30:51 +00:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
/**
* TrimStrings short summary.
*
* TrimStrings description.
*
* @version 1.0
* @author kaiarn
*/
class TrimStrings extends BaseTrimmer
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'current_password',
2018-08-06 12:30:51 +00:00
'password',
'password_confirmation',
];
}