Multiple login fields? #67

Open
ramayer opened this Issue Nov 12, 2009 · 2 comments

3 participants

@ramayer

I notice that Authlogic::ActsAsAuthentic::Login::Config 's login_field method accepts a symbol representing a single column.

I have a system which has 2 fields (agency & username) that uniquely identifies a user. Is there some way the existing authlogic can deal with a user table that has multiple columns that identify a user?

If not, would you be interested in a patch allowing login_field to also accept an array of symbols to handle such cases?

@nicolasblanco

I think that Authlogic was not made to fit every needs (it's not possible), that is why it has a strong API. Creating a plugin for Authlogic is very easy, just look at the examples and in no time you'll have an auth plugin for your own architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment