shared library for managing external user accounts

This commit is contained in:
Dan Cech
2018-04-17 14:06:25 -04:00
parent 1594ceeb6f
commit 1c5afa731f
23 changed files with 525 additions and 263 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ var syncGrafanaUserWithLdapUser = func(ctx *m.ReqContext, query *m.GetSignedInUs
for _, server := range ldapCfg.Servers {
author := login.NewLdapAuthenticator(server)
if err := author.SyncSignedInUser(query.Result); err != nil {
if err := author.SyncSignedInUser(ctx, query.Result); err != nil {
return err
}
}