Files
nexusphp/app/Http/Middleware/TrimStrings.php
2022-03-20 22:14:00 +08:00

22 lines
408 B
PHP

<?php
namespace App\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 = [
'current_password',
'password',
'password_confirmation',
'peer_id',
'info_hash',
];
}