mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Hide important info from debug mode
This commit is contained in:
parent
3825c7ba50
commit
8355120067
@ -58,15 +58,13 @@ return [
|
||||
*/
|
||||
|
||||
'debug_blacklist' => [
|
||||
'_COOKIE' => array_keys($_COOKIE),
|
||||
'_COOKIE' => env('APP_ENV', 'production') === 'production' ? array_keys($_COOKIE) : [],
|
||||
|
||||
'_SERVER' => array_keys($_SERVER),
|
||||
'_SERVER' => env('APP_ENV', 'production') === 'production' ? array_keys($_SERVER) : [],
|
||||
|
||||
'_ENV' => array_keys($_ENV),
|
||||
'_ENV' => env('APP_ENV', 'production') === 'production' ? array_keys($_ENV) : [],
|
||||
|
||||
'_POST' => [
|
||||
'password',
|
||||
],
|
||||
'_POST' => env('APP_ENV', 'production') === 'production' ? array_keys($_POST) : [],
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user