Skip to content
Snippets Groups Projects
Commit a98dfc78 authored by ale's avatar ale
Browse files

Set Secure bit when deleting the nonce cookie

Might fix a warning.
parent ac415a80
No related branches found
No related tags found
No related merge requests found
Pipeline #45026 passed
......@@ -149,6 +149,7 @@ func (s *SSOWrapper) handleLogin(w http.ResponseWriter, req *http.Request, servi
cookie.MaxAge = -1
cookie.Value = ""
cookie.SameSite = s.SameSite
cookie.Secure = true
http.SetCookie(w, cookie)
tkt, err := s.v.Validate(t, nonce, service, groups)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment