about summary refs log tree commit diff
path: root/laravel/config
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-09-30 12:52:18 +0000
committerZach DeCook <zachdecook@librem.one>2021-09-30 12:52:18 +0000
commitc4e0a9d5ebf8ba63718fade39530c0522db4dcae (patch)
tree92f48712059fcc7db97b6b424c96ac3470f11bf0 /laravel/config
parent2f7b60be74edc021f801a0c7c7cc0ffc2160ca4a (diff)
downloadprosongsa-c4e0a9d5ebf8ba63718fade39530c0522db4dcae.tar.gz
config: Don't output sensitive info on PrettyPageHandler
Diffstat (limited to 'laravel/config')
-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