#94 ✓resolved
ddux

+ should be valid in email validation

Reported by ddux | April 20th, 2009 @ 11:28 PM

I tried to use dakota.dux+1@gmail.com with authlogic - but had a problem with the validate_format_of_login_field_options. I changed line 46 of login.rb in acts_as_authentic to this:

config(:validates_format_of_login_field_options, value, {:with => /\A\w[\w.+-@ ]+\z/, :message => I18n.t('error_messages.login_invalid', :default => "should use only letters, numbers, spaces, and +.-@ please.")})

Thank you for your great project

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Pages