|
|
@@ -65,6 +65,8 @@ func initContextWithAuthProxy(ctx *m.ReqContext, orgID int64) bool {
|
|
|
query.UserId = getRequestUserId(ctx)
|
|
|
// if we're using ldap, pass authproxy login name to ldap user sync
|
|
|
} else if setting.LdapEnabled {
|
|
|
+ ctx.Session.Delete(session.SESS_KEY_LASTLDAPSYNC)
|
|
|
+
|
|
|
syncQuery := &m.LoginUserQuery{
|
|
|
ReqContext: ctx,
|
|
|
Username: proxyHeaderValue,
|