diff --git a/lib/authlogic/regex.rb b/lib/authlogic/regex.rb index 10fb3545..74c6fc87 100644 --- a/lib/authlogic/regex.rb +++ b/lib/authlogic/regex.rb @@ -19,7 +19,7 @@ def self.email # A simple regular expression that only allows for letters, numbers, spaces, and .-_@. Just a standard login / username # regular expression. def self.login - /^\w[\w\.+\-_@ ]+$/ + /^\w[\w\.\-_@ ]+$/ end end end