Added interval flag

This commit is contained in:
Pablu23
2024-05-30 20:30:45 +02:00
parent e9c7c6f915
commit 8de5bb0fdc
4 changed files with 27 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ func (s *Server) HandleLoginPost(w http.ResponseWriter, r *http.Request) {
Value: secret,
Path: "/",
MaxAge: 3600,
Secure: true,
Secure: false,
HttpOnly: false,
SameSite: http.SameSiteLaxMode,
})