Kernel middleware in separate commit.

This commit is contained in:
James Cole
2017-09-09 22:02:20 +02:00
parent bf270745f0
commit c40be5299c
5 changed files with 86 additions and 204 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace FireflyIII\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',
];
}