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

20 lines
371 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 string[]
2017-01-17 15:35:36 -06:00
*/
protected $except = [
'current_password',
2017-01-17 15:35:36 -06:00
'password',
'password_confirmation',
];
}