Browse Source

Environment configuration for HTTPS only cookie

Jason McCreary 7 years ago
parent
commit
41b0560375
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/session.php

+ 1 - 1
config/session.php

@@ -161,7 +161,7 @@ return [
     |
     */
 
-    'secure' => false,
+    'secure' => env('SESSION_SECURE_COOKIE', false),
 
     /*
     |--------------------------------------------------------------------------