Removed empty string null middleware as was causing issues

This commit is contained in:
Dan Brown 2017-09-30 14:44:52 +01:00
parent aca6de49b0
commit c943eb4d0d
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,6 @@ class Kernel extends HttpKernel
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class, \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\BookStack\Http\Middleware\TrimStrings::class, \BookStack\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
]; ];
/** /**

View File

@ -14,5 +14,6 @@ class TrimStrings extends BaseTrimmer
protected $except = [ protected $except = [
'password', 'password',
'password_confirmation', 'password_confirmation',
'password-confirm',
]; ];
} }