Skip to content

Commit

Permalink
shib_request_settings now a hash intead of array.
Browse files Browse the repository at this point in the history
  • Loading branch information
halfninja committed Oct 10, 2014
1 parent 846adab commit da02e70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/vhost/_directories.erb
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@
<%- if directory['shib_require_session'] and ! directory['shib_require_session'].empty? -%>
ShibRequireSession <%= directory['shib_require_session'] %>
<%- end -%>
<%- if directory['shib_request_settings'] -%>
<%- Array(directory['shib_request_settings']).each do |setting| -%>
ShibRequestSetting <%= setting %>
<%- if directory['shib_request_settings'] and ! directory['shib_request_settings'].empty? -%>
<%- directory['shib_request_settings'].each do |key,value| -%>
ShibRequestSetting <%= key %> <%= value %>
<%- end -%>
<%- end -%>
<%- if directory['shib_use_headers'] and ! directory['shib_use_headers'].empty? -%>
Expand Down

0 comments on commit da02e70

Please sign in to comment.