Commit baab152c authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Fixed incorrect matching of username portion

parent 4930e0a3
......@@ -543,7 +543,7 @@ sub emailAddressMatches
# Check if we have a match
if ($email_domain =~ /^$template_domain$/) {
if (($email_user =~ $template_user) || $template_user =~ /^$/) {
if (($email_user =~ /^$template_user$/) || $template_user eq "") {
$match = 1;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment