修修复 因为secure导致的登录失败问题

修复 安装拦截器部分情况下失效的问题
This commit is contained in:
2026-03-31 02:14:08 +08:00
parent 16b4f0a0be
commit 3293fc452a
5 changed files with 74 additions and 50 deletions

View File

@@ -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",