diff --git a/session/session.go b/session/session.go index 6551646a..536fcf50 100644 --- a/session/session.go +++ b/session/session.go @@ -65,7 +65,7 @@ func (manager *Manager) SessionStart(w http.ResponseWriter, r *http.Request) (se Value: url.QueryEscape(sid), Path: "/", HttpOnly: true, - Secure: true} + Secure: false} cookie.Expires = time.Now().Add(time.Duration(manager.maxlifetime) * time.Second) http.SetCookie(w, &cookie) r.AddCookie(&cookie)