Skip to content

Commit

Permalink
ldap template: fix update parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Ronniger committed Mar 27, 2023
1 parent 94088dc commit 36b648c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/ldap.erb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ ldap <%= @name %> {
# reply: += 'radiusReplyAttribute'
# }
<%- if @update -%>
update {
<%= @update.join("\n ") %>
}
<%- else -%>
update {
control:Password-With-Header += 'userPassword'
Expand Down

0 comments on commit 36b648c

Please sign in to comment.