Usernames are evil. How can I make Restful Authentication only require an email address and password

Posted by Koning WWWWWWWWWWWWWWWWWWWWWWW on Stack Overflow See other posts from Stack Overflow or by Koning WWWWWWWWWWWWWWWWWWWWWWW
Published on 2010-05-10T17:40:38Z Indexed on 2010/05/10 18:44 UTC
Read the original article Hit count: 365

As the title says: how can I use the Restful Authentication Plugin with Ruby on Rails. When I want to create a new user, it requires me to set the (wrong-named, confusing field) login (= username), email address and password. However, I want, like Facebook does, to require the user to enter only an email address and password, not a username. People will also login with this email address.

Can anyone help me?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about restful-authentication