Merge pull request #1241 from openclassify/dia

Hide important info from debug mode
This commit is contained in:
Muammer Top 2021-12-07 12:17:48 +03:00 committed by GitHub
commit a417e7ce60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,19 +58,13 @@ return [
*/ */
'debug_blacklist' => [ 'debug_blacklist' => [
'_ENV' => [ '_COOKIE' => env('APP_ENV', 'production') === 'production' ? array_keys($_COOKIE) : [],
'APP_KEY',
'DB_PASSWORD',
],
'_SERVER' => [ '_SERVER' => env('APP_ENV', 'production') === 'production' ? array_keys($_SERVER) : [],
'APP_KEY',
'DB_PASSWORD',
],
'_POST' => [ '_ENV' => env('APP_ENV', 'production') === 'production' ? array_keys($_ENV) : [],
'password',
], '_POST' => env('APP_ENV', 'production') === 'production' ? array_keys($_POST) : [],
], ],
/* /*