2

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

Tam
  • 11,872
  • 19
  • 69
  • 119

1 Answers1

3

Check this.

Community
  • 1
  • 1
Irukandji
  • 1,208
  • 10
  • 22