Act_as_authenticated: remove login and use email

Hi all,

Does anyone if it’s simple to remove the login/username from
act_as_authenticated and use someone’s email address for it? I usually
find that easier to remember than an username.

I installed act_as_authenticated and had a quick look at the code and it
looks fairly simple, but I would like to know if someone’s had any
experience with it.

Or may there be a better login-generator-thingy around?

Thanks in advance!

I installed act_as_authenticated and had a quick look at the code and it
looks fairly simple, but I would like to know if someone’s had any
experience with it.

I’ve done this. If I remember correctly, you can just change the calls
to find_by_login to find_by_email. Not too much work involved at all.

HTH,
Jord

Jordan E. wrote:

I installed act_as_authenticated and had a quick look at the code and it
looks fairly simple, but I would like to know if someone’s had any
experience with it.

I’ve done this. If I remember correctly, you can just change the calls
to find_by_login to find_by_email. Not too much work involved at all.

HTH,
Jord

Ah, nice. Gonna look at it tonight. Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs