Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/casserver/authenticators/ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def default_username_attribute
# Add prefix to username, if :username_prefix was specified in the :ldap config.
def preprocess_username
@username = @options[:ldap][:username_prefix] + @username if @options[:ldap][:username_prefix]
@username = @username + @options[:ldap][:username_postfix] if @options[:ldap][:username_postfix]
end

# Attempt to bind with the LDAP server using the username and password entered by
Expand Down