main
Last change
on this file since c454c0f was c454c0f, checked in by bube-ristovska <ristovska725@…>, 12 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
381 bytes
|
Rev | Line | |
---|
[c454c0f] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | namespace App\Http\Middleware;
|
---|
| 4 |
|
---|
| 5 | use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
|
---|
| 6 |
|
---|
| 7 | class TrimStrings extends Middleware
|
---|
| 8 | {
|
---|
| 9 | /**
|
---|
| 10 | * The names of the attributes that should not be trimmed.
|
---|
| 11 | *
|
---|
| 12 | * @var array<int, string>
|
---|
| 13 | */
|
---|
| 14 | protected $except = [
|
---|
| 15 | 'current_password',
|
---|
| 16 | 'password',
|
---|
| 17 | 'password_confirmation',
|
---|
| 18 | ];
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.