Permalink
Browse files

make regex match the comment and message (i.e. no '+' permitted)

  • Loading branch information...
1 parent 8242002 commit d96b3e120362119bcbbc456531ecc6ffcd36fcb4 @josephruscio josephruscio committed with binarylogic Nov 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authlogic/regex.rb
View
@@ -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.