mirror of
https://github.com/skyle1995/NetworkAuth.git
synced 2026-05-25 02:24:05 +08:00
修修复 因为secure导致的登录失败问题
修复 安装拦截器部分情况下失效的问题
This commit is contained in:
@@ -116,8 +116,8 @@ func SeedDefaultSettings() error {
|
||||
defaultSettings = append(defaultSettings, []models.Settings{
|
||||
{
|
||||
Name: "cookie_secure",
|
||||
Value: "true",
|
||||
Description: "Cookie Secure属性(是否只在HTTPS下发送)",
|
||||
Value: "false",
|
||||
Description: "是否启用安全Cookie(仅HTTPS),开启后HTTP访问可能导致登录失败",
|
||||
},
|
||||
{
|
||||
Name: "cookie_same_site",
|
||||
|
||||
Reference in New Issue
Block a user