mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 15:26: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' => [
|
'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' => [
|
'_POST' => env('APP_ENV', 'production') === 'production' ? array_keys($_POST) : [],
|
||||||
'password',
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user