Backend for songs.zachdecook.com
config: Don't output sensitive info on PrettyPageHandler
| -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 |