mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #1241 from openclassify/dia
Hide important info from debug mode
This commit is contained in:
commit
a417e7ce60
@ -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) : [],
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user