Skip to content

Commit

Permalink
更新cookie配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Nov 5, 2020
1 parent 956b07a commit 48b8b9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
'httponly' => false,
// 是否使用 setcookie
'setcookie' => true,
// samesite 设置,支持 'strict' 'lax'
'samesite' => '',
];

2 comments on commit 48b8b9d

@aogg
Copy link

@aogg aogg commented on 48b8b9d Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这次得提交是不是漏洞修复得提交?

本次更新包含一个可能的Session安全隐患修正,建议更新。

@liu21st
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个只是对samesite的支持设置 不是完全修正

Please sign in to comment.