Skip to content

Error in documentation? #60

Description

@cmendla

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions