2017-04-01 17:59:43 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Middleware;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
|
|
|
|
|
|
|
|
class TrimStrings extends BaseTrimmer
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The names of the attributes that should not be trimmed.
|
|
|
|
*
|
2022-02-26 11:15:20 -05:00
|
|
|
* @var array<int, string>
|
2017-04-01 17:59:43 -04:00
|
|
|
*/
|
|
|
|
protected $except = [
|
2022-02-26 11:15:20 -05:00
|
|
|
'current_password',
|
2017-04-01 17:59:43 -04:00
|
|
|
'password',
|
|
|
|
'password_confirmation',
|
|
|
|
];
|
|
|
|
}
|