remove useless isSecure dyn attr for cookies

This commit is contained in:
rmanach
2025-11-24 17:24:33 +01:00
parent c734729554
commit f611e0c871
4 changed files with 6 additions and 17 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func postLogin(w http.ResponseWriter, r *http.Request, a services.IAuthenticate)
return
}
cookie := session.GenerateCookie(a.IsSecure())
cookie := session.GenerateCookie()
http.SetCookie(w, cookie)
tmpl, err := templates.ExecuteLoginSuccessTmpl(w)