commit 70d23bbd8fbdbeb3b6554e42ac4283396372f39d Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Fri Feb 3 21:40:55 2017 +0000 Updade to Laravel 5.4
18 lines
342 B
PHP
18 lines
342 B
PHP
<?php
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
|
|
|
|
class TrimStrings extends BaseTrimmer
|
|
{
|
|
/**
|
|
* The names of the attributes that should not be trimmed.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $except = [
|
|
'password',
|
|
'password_confirmation',
|
|
];
|
|
}
|