Add note for refactoring

parent 6373c84d
......@@ -205,6 +205,7 @@ Devise.setup do |config|
# end
if Gitlab.config.ldap.enabled
# TODO: make server specific
if Gitlab.config.ldap.allow_username_or_email_login
email_stripping_proc = ->(name) {name.gsub(/@.*$/,'')}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment