Skip to content

Commit d96b3e1

Browse files
josephrusciobinarylogic
authored andcommitted
make regex match the comment and message (i.e. no '+' permitted)
1 parent 8242002 commit d96b3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/authlogic/regex.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def self.email
1919
# A simple regular expression that only allows for letters, numbers, spaces, and .-_@. Just a standard login / username
2020
# regular expression.
2121
def self.login
22-
/^\w[\w\.+\-_@ ]+$/
22+
/^\w[\w\.\-_@ ]+$/
2323
end
2424
end
2525
end

0 commit comments

Comments
 (0)