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?
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.
You can use the 'find_by_login_method' to override the user lookup method in your UserSession model.