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' => [
'_ENV' => [
'APP_KEY',
'DB_PASSWORD',
],
'_COOKIE' => env('APP_ENV', 'production') === 'production' ? array_keys($_COOKIE) : [],
'_SERVER' => [
'APP_KEY',
'DB_PASSWORD',
],
'_SERVER' => env('APP_ENV', 'production') === 'production' ? array_keys($_SERVER) : [],
'_POST' => [
'password',
],
'_ENV' => env('APP_ENV', 'production') === 'production' ? array_keys($_ENV) : [],
'_POST' => env('APP_ENV', 'production') === 'production' ? array_keys($_POST) : [],
],
/*