views:

183

answers:

1

Hi,

I'm using Authlogic with my Ruby on Rails App. I would like user to enter either user name or password in one field to authenticate. How do I do this with Authlogic?

I know I can switch to using email:

  acts_as_authentic do |c|
    c.login_field = :email
  end

I was sure if I can tell Authlogic to use either.

Cheers,

Tam

+2  A: 

Check this.

baijiu