remove useless isSecure dyn attr for cookies
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user