Skip to content

Commit

Permalink
make regex match the comment and message (i.e. no '+' permitted)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephruscio authored and binarylogic committed Nov 12, 2009
1 parent 8242002 commit d96b3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authlogic/regex.rb
Expand Up @@ -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

0 comments on commit d96b3e1

Please sign in to comment.