update cookie settings
This commit is contained in:
@@ -183,6 +183,7 @@ func (wc *WebController) serveForm(
|
||||
|
||||
// Execute the extra actions if any
|
||||
if td.Form.Extra.SetCookie != nil {
|
||||
w.Header().Del("Set-Cookie")
|
||||
http.SetCookie(w, td.Form.Extra.SetCookie)
|
||||
}
|
||||
if td.Form.Extra.RedirectTo != "" {
|
||||
|
Reference in New Issue
Block a user