Merge pull request #11 from bowdoincollege/ldap_maps

add ldap_maps hash
This commit is contained in:
Geekix 2019-03-04 15:23:12 +01:00 committed by GitHub
commit 50fdf5cb2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,9 @@ filter <%= map %> <%= filter %>
<% if @ldap_maps.length > 0 -%>
# Custom maps
<% @ldap_maps.sort.each do |key, value| -%>
map <%= key %> <%= value %>
<% end -%>
<% @ldap_maps.sort.each do |map, attributes| -%>
<% attributes.sort.each do |attribute, newattribute| -%>
map <%= map %> <%= attribute %> <%= newattribute %>
<% end -%>
<% end -%>
<% end -%>