added secure cookies settings
Some checks failed
Run Integration Tests / test (push) Failing after 40s
Some checks failed
Run Integration Tests / test (push) Failing after 40s
This commit is contained in:
parent
3d893ad94d
commit
0851e9e9f2
1 changed files with 3 additions and 2 deletions
|
@ -72,8 +72,9 @@ func saveUserSettings(w http.ResponseWriter, settings UserSettings) {
|
|||
Value: cd.GetValue(settings),
|
||||
Path: "/",
|
||||
Expires: expiration,
|
||||
Secure: true,
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
Secure: true, // Ensure HTTPS is required
|
||||
HttpOnly: true,
|
||||
SameSite: http.SameSiteStrictMode, // Restrict cross-site usage
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue