Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: remove secure flag (#848)

boojack27fd1e28803c
diff --git a/server/acl.go b/server/acl.go
index c2e33995a..ccb67e813 100644
--- a/server/acl.go
+++ b/server/acl.go
@@ -27,7 +27,6 @@ func setUserSession(ctx echo.Context, user *api.User) error {
Path: "/",
MaxAge: 3600 * 24 * 30,
HttpOnly: true,
- Secure: true,
}
sess.Values[userIDContextKey] = user.ID
err := sess.Save(ctx.Request(), ctx.Response())