Adauth
Adauth copied to clipboard
Error in documentation?
I'm not sure, but I think that there is an error in the documentation at https://github.com/Arcath/Adauth
The code on the page was
class User < ActiveRecord::Base include Adauth::Rails::ModelBridge
AdauthMappings = {
:login => :login
:group_strings => :cn_groups
}
AdauthSearchField = [:login, :login]
end
The code I used after getting an error was
AdauthMappings = { :login => :login, :group_strings => :cn_groups }
AdauthSearchField = [:login, :login]
I had to put a comma after login.
If the posted code is correct, I apologize.