mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:22:13 +08:00
SAML: single logout only enabled in enterprise (#31325)
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user