Explorar el Código

dont specify domain for auth cookies

bergquist hace 7 años
padre
commit
75760aa892
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      pkg/services/auth/auth_token.go

+ 0 - 1
pkg/services/auth/auth_token.go

@@ -93,7 +93,6 @@ func (s *UserAuthTokenServiceImpl) writeSessionCookie(ctx *models.ReqContext, va
 		Name:     s.Cfg.LoginCookieName,
 		Value:    url.QueryEscape(value),
 		HttpOnly: true,
-		Domain:   setting.Domain,
 		Path:     setting.AppSubUrl + "/",
 		Secure:   s.Cfg.SecurityHTTPSCookies,
 		MaxAge:   maxAge,