Auth: Resolve isGrafanaAdmin for debug logging (#71145)

resolve isGrafanaAdmin for debug logging
This commit is contained in:
Jo
2023-07-10 11:14:51 +02:00
committed by GitHub
parent 49e42d1a8d
commit 932c24986d
3 changed files with 7 additions and 4 deletions
-2
View File
@@ -277,8 +277,6 @@ func (s *Service) GetUserFromLDAP(c *contextmodel.ReqContext) response.Response
return response.Error(http.StatusNotFound, "No user was found in the LDAP server(s) with that username", err)
}
s.log.Debug("user found", "user", user)
name, surname := splitName(user.Name)
u := &LDAPUserDTO{