diff --git a/pkg/api/index.go b/pkg/api/index.go index 678d42a6dcb..ad9dc18d9a7 100644 --- a/pkg/api/index.go +++ b/pkg/api/index.go @@ -177,7 +177,12 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er if !setting.DisableSignoutMenu { // add sign out first profileNode.Children = append(profileNode.Children, &dtos.NavLink{ - Text: "Sign out", Id: "sign-out", Url: setting.AppSubUrl + "/logout", Icon: "fa fa-fw fa-sign-out", Target: "_self", + Text: "Sign out", + Id: "sign-out", + Url: setting.AppSubUrl + "/logout", + Icon: "fa fa-fw fa-sign-out", + Target: "_self", + HideFromTabs: true, }) }