diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-09-30 12:52:18 +0000 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-09-30 12:52:18 +0000 |
| commit | c4e0a9d5ebf8ba63718fade39530c0522db4dcae (patch) | |
| tree | 92f48712059fcc7db97b6b424c96ac3470f11bf0 /laravel/config/app.php | |
| parent | 2f7b60be74edc021f801a0c7c7cc0ffc2160ca4a (diff) | |
| download | prosongsa-c4e0a9d5ebf8ba63718fade39530c0522db4dcae.tar.gz | |
config: Don't output sensitive info on PrettyPageHandler
Diffstat (limited to 'laravel/config/app.php')
| -rw-r--r-- | laravel/config/app.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/laravel/config/app.php b/laravel/config/app.php index 57ee5b7..7841148 100644 --- a/laravel/config/app.php +++ b/laravel/config/app.php @@ -28,6 +28,26 @@ return [ 'env' => env('APP_ENV', 'production'), + 'debug_blacklist' => [ + '_ENV' => [ + 'APP_KEY', + 'DB_PASSWORD', + 'MAIL_USERNAME', + 'MAIL_PASSWORD', + ], + + '_SERVER' => [ + 'APP_KEY', + 'DB_PASSWORD', + 'MAIL_USERNAME', + 'MAIL_PASSWORD', + ], + + '_POST' => [ + 'password', + ], + ], + /* |-------------------------------------------------------------------------- | Application Debug Mode |
