mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SAML: single logout only enabled in enterprise (#31325)
This commit is contained in:
parent
7ccba047c6
commit
fe74c51d68
@ -273,7 +273,7 @@ func (hs *HTTPServer) loginUserWithUser(user *models.User, c *models.ReqContext)
|
||||
}
|
||||
|
||||
func (hs *HTTPServer) Logout(c *models.ReqContext) {
|
||||
if hs.Cfg.SAMLEnabled && hs.Cfg.SAMLSingleLogoutEnabled {
|
||||
if hs.Cfg.SAMLEnabled && hs.Cfg.SAMLSingleLogoutEnabled && hs.License.HasValidLicense() {
|
||||
c.Redirect(setting.AppSubUrl + "/logout/saml")
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user