]> BookStack Code Mirror - bookstack/blob - app/Http/Middleware/TrimStrings.php
34b7e912d32ebdcd486134e6cfa200ec06c41fb7
[bookstack] / app / Http / Middleware / TrimStrings.php
1 <?php
2
3 namespace BookStack\Http\Middleware;
4
5 use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
6
7 class TrimStrings extends BaseTrimmer
8 {
9     /**
10      * The names of the attributes that should not be trimmed.
11      *
12      * @var array
13      */
14     protected $except = [
15         'password',
16         'password_confirmation',
17     ];
18 }