aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 04bcf7c..f2ab0c8 100644
--- a/main.go
+++ b/main.go
@@ -419,7 +419,7 @@ func sendFlash(w http.ResponseWriter, r *http.Request, name, s string) {
MaxAge: 0,
Path: "/",
// Only https on qutebrowser
- //Secure: true,
+ Secure: true,
HttpOnly: true,
SameSite: http.SameSiteStrictMode,
}
@@ -474,7 +474,7 @@ func login(w http.ResponseWriter, r *http.Request) {
Value: bStr,
MaxAge: 0,
// Only https on qutebrowser
- //Secure: true,
+ Secure: true,
HttpOnly: true,
SameSite: http.SameSiteStrictMode,
}