LDAP: consistently name the LDAP entities (#17203)

This commit is contained in:
Oleg Gaidarenko authored and GitHub committed 2019-05-22 15:30:03 +03:00
1 parent 87688930a2
commit 9b7f9dd9be
17 files changed
+71 -71

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ func (hs *HTTPServer) ChangeActiveOrgAndRedirectToHome(c *m.ReqContext) {
}
func ChangeUserPassword(c *m.ReqContext, cmd m.ChangeUserPasswordCommand) Response {
if setting.LdapEnabled || setting.AuthProxyEnabled {
if setting.LDAPEnabled || setting.AuthProxyEnabled {
return Error(400, "Not allowed to change password when LDAP or Auth Proxy is enabled", nil)
}