mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-15 07:33:36 +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',
|
|
];
|
|
}
|