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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: session max age (#392)
boojack55dee0df7e8e
diff --git a/server/acl.go b/server/acl.goindex 3580abe34..b9b765368 100644--- a/server/acl.go+++ b/server/acl.go@@ -25,7 +25,7 @@ func setUserSession(ctx echo.Context, user *api.User) error {sess, _ := session.Get("session", ctx)sess.Options = &sessions.Options{Path: "/",- MaxAge: 1000 * 3600 * 24 * 30,+ MaxAge: 3600 * 24 * 30,HttpOnly: true,}sess.Values[userIDContextKey] = user.ID