OpenID and Authlogic - login and password?

Posted by skrat on Stack Overflow See other posts from Stack Overflow or by skrat
Published on 2010-03-17T17:41:02Z Indexed on 2010/03/17 18:51 UTC
Read the original article Hit count: 284

Filed under:

How can I get rid of validation messages telling me that:

Login is too short (minimum is 3 characters)
Login should use only letters, numbers, spaces, and [email protected] please.
Password is too short (minimum is 4 characters)
Password confirmation is too short (minimum is 4 characters)

this happens even before map_openid_registration is called, thus not giving me any chance to fill login with something from returned registration Hash. I would like to have OpenID auto-registration (on login) without requiring user to supply login/password.

I also won't make this fields "not required" or "not validated", since I still need them with old school login/password registration. Thank you

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby