This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 95363ce Interpolation only works inside double-quote
95363ce is described below
commit 95363cef5e3488ccebc0a7d7fa6900db8f5d301f
Author: Sebb <[email protected]>
AuthorDate: Wed Oct 21 16:44:47 2020 +0100
Interpolation only works inside double-quote
---
lib/whimsy/asf/ldap.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 944ad8d..8fc69fe 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -588,9 +588,9 @@ module ASF
# determine what groups the individual is a member of
uid_groups = ASF.search_subtree('dc=apache,dc=org',
- 'memberUid=#{self.id}', 'dn').flatten
+ "memberUid=#{self.id}", 'dn').flatten
dn_groups = ASF.search_subtree('dc=apache,dc=org',
- 'member=#{self.dn}', 'dn').flatten
+ "member=#{self.dn}", 'dn').flatten
# add new user to all groups
uid_groups.each do |dn|