Browse Source

恢复cookie的httponly默认设置

Karson 5 years ago
parent
commit
bcd1b7fb9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/config.php

+ 1 - 1
application/config.php

@@ -213,7 +213,7 @@ return [
         //  cookie 启用安全传输
         'secure'    => false,
         // httponly设置
-        'httponly'  => true,
+        'httponly'  => '',
         // 是否使用 setcookie
         'setcookie' => true,
     ],