Backend for songs.zachdecook.com
config: Don't output sensitive info on PrettyPageHandler
Zach DeCook 2021-09-30
parent 2f7b60b · commit c4e0a9d
-rw-r--r--laravel/config/app.php20
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