Files
spa-api/app/Http/Middleware/TrimStrings.php

19 lines
340 B
PHP
Raw Normal View History

2017-01-17 15:35:36 -06:00
<?php
namespace App\Http\Middleware;
2017-03-29 10:05:16 -05:00
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
2017-01-17 15:35:36 -06:00
2017-03-29 10:05:16 -05:00
class TrimStrings extends Middleware
2017-01-17 15:35:36 -06:00
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_confirmation',
];
}