mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 17:57:28 +08:00
873b1099f8
Closes #590
20 lines
374 B
PHP
20 lines
374 B
PHP
<?php
|
|
|
|
namespace BookStack\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 = [
|
|
'password',
|
|
'password_confirmation',
|
|
'password-confirm',
|
|
];
|
|
}
|