mirror of
https://github.com/grafana/grafana.git
synced 2026-08-18 17:15:08 -05:00
moves cookie https setting to [security]
This commit is contained in:
@@ -95,7 +95,7 @@ func (s *UserAuthTokenServiceImpl) writeSessionCookie(ctx *models.ReqContext, va
|
||||
HttpOnly: true,
|
||||
Domain: setting.Domain,
|
||||
Path: setting.AppSubUrl + "/",
|
||||
Secure: s.Cfg.LoginCookieSecure,
|
||||
Secure: s.Cfg.SecurityHTTPSCookies,
|
||||
MaxAge: maxAge,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user