Skip to content

Commit

Permalink
fix disable users by group
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Jun 2, 2023
1 parent 80b4e85 commit 650ab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/graph/pkg/identity/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ func (i *LDAP) updateAccountEnabledState(logger log.Logger, accountEnabled bool,
} else {
err = i.disableUser(logger, e.DN)
}
updateNeeded = true
updateNeeded = false
}

return updateNeeded, err
Expand Down

0 comments on commit 650ab1b

Please sign in to comment.