Adauth icon indicating copy to clipboard operation
Adauth copied to clipboard

Error in documentation?

Open cmendla opened this issue 10 years ago • 0 comments

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.

cmendla avatar Oct 28 '15 16:10 cmendla