2017-04-01 21:59:43 +00: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 16:15:20 +00:00
|
|
|
* @var array<int, string>
|
2017-04-01 21:59:43 +00:00
|
|
|
*/
|
|
|
|
protected $except = [
|
2022-02-26 16:15:20 +00:00
|
|
|
'current_password',
|
2017-04-01 21:59:43 +00:00
|
|
|
'password',
|
|
|
|
'password_confirmation',
|
|
|
|
];
|
|
|
|
}
|