After installing the update below, several of my other friends started
complaining because they had been invited with [email protected] so
when they tried to login and their email was downcased, their login
failed :-[ .
I hacked this one by using a before_save to downcase the email_address
in the User model.
Everyone can login successfully now, but it would be much easier if a
case-insensitive compare were implemented in hobo.
I'm glad this happened in a hobby website and I didn't get angry emails
from upset clients. ;-)
Don Ziesig
On 09/20/2014 07:27 PM, Donald Ziesig wrote:
Hi All!
One of my model-railroading friends uncovered a minor bug when trying
to log in to the club website. He usually enters his email as
[email protected] but was invited as [email protected]. Even though email
addresses are supposed to be case insensitive, his login failed. I
replicated it with my email address, too.
There is a very simple work-around, but I would recommend that a more
permanent correction be made in the hobo internals. The work-around
goes into the hobo_user_controller:
def login
params[:login].downcase! unless params[:login].nil?
hobo_login
end
Don Ziesig
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.