make session last 1mo

This commit is contained in:
Carl Pearson
2024-09-06 14:49:11 -06:00
parent 6a16ddda9f
commit 54f4e93e73

View File

@@ -97,7 +97,7 @@ func main() {
store.Options = &sessions.Options{
Path: "/",
MaxAge: 60 * 15,
MaxAge: 30 * 24 * 60 * 60, // seconds
HttpOnly: true,
Secure: false, // needed for session to work over http
}