Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix reference to user login in ldap sync

Oliver Günther3873f9af5789
diff --git a/modules/ldap_groups/app/services/ldap_groups/synchronize_groups_service.rb b/modules/ldap_groups/app/services/ldap_groups/synchronize_groups_service.rb
index a49c832846a..fc82946d602 100644
--- a/modules/ldap_groups/app/services/ldap_groups/synchronize_groups_service.rb
+++ b/modules/ldap_groups/app/services/ldap_groups/synchronize_groups_service.rb
@@ -57,7 +57,7 @@ module LdapGroups
next if existing[login]
if OpenProject::Enterprise.user_limit_reached?
- Rails.logger.error("[LDAP groups] User '#{user.login}' could not be created as user limit exceeded.")
+ Rails.logger.error("[LDAP groups] User '#{login}' could not be created as user limit exceeded.")
break
end