bugfix: added @ to acceptable password chars

This commit is contained in:
Darryl Quinn 2015-04-09 10:57:57 -05:00
parent 5dd3e19c42
commit bd3190a8ff
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ foreach $val (@list)
} }
# password MUST be alphanumeric (no special chars) # password MUST be alphanumeric (no special chars)
push @cli_err, "The password cannot contain non-alphanumeric characters (#$client_num)" if ($passwd =~ m/[^a-zA-Z0-9]/); push @cli_err, "The password cannot contain non-alphanumeric characters (#$client_num)" if ($passwd =~ m/[^a-zA-Z0-9@]/);
push @cli_err, "A client name is required" if($name eq ""); push @cli_err, "A client name is required" if($name eq "");
push @cli_err, "A client password is required" if($passwd eq ""); push @cli_err, "A client password is required" if($passwd eq "");