aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.go b/main.go
index b7e8e53..7681c86 100644
--- a/main.go
+++ b/main.go
@@ -264,7 +264,8 @@ func sendFlashError(w http.ResponseWriter, r *http.Request, url string, err erro
Name: "flasherror",
Value: str,
MaxAge: 0,
- Secure: true,
+ // Only https on qutebrowser
+ //Secure: true,
HttpOnly: true,
SameSite: http.SameSiteStrictMode,
}
@@ -325,7 +326,8 @@ func login(w http.ResponseWriter, r *http.Request) {
Name: "session",
Value: bStr,
MaxAge: 0,
- Secure: true,
+ // Only https on qutebrowser
+ //Secure: true,
HttpOnly: true,
SameSite: http.SameSiteStrictMode,
}