small pixel drawing of a pufferfish vore

reduce session token expiry from 18y to 1y
Jes Olson j3s@c3f.net
Sat, 08 Jul 2023 19:14:07 -0500
commit

ba79f5b195fd13a30215fc1ada0119bc247d20f6

parent

0fee615ab7f9d95f2565d59bda1d603ad3c6f0f2

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M site.gosite.go

@@ -282,9 +282,8 @@ log.Println(err)

} http.SetCookie(w, &http.Cookie{ - Name: "session_token", - // 18 years - Expires: time.Now().Add(time.Hour * 24 * 365 * 18), + Name: "session_token", + Expires: time.Now().Add(time.Hour * 24 * 365), Value: sessionToken, }) return nil