From bd3190a8ffbb7de3f343924fae119a5beac84acb Mon Sep 17 00:00:00 2001 From: Darryl Quinn Date: Thu, 9 Apr 2015 10:57:57 -0500 Subject: [PATCH] bugfix: added @ to acceptable password chars --- files/www/cgi-bin/vpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/www/cgi-bin/vpn b/files/www/cgi-bin/vpn index 66246da8..c3800322 100755 --- a/files/www/cgi-bin/vpn +++ b/files/www/cgi-bin/vpn @@ -117,7 +117,7 @@ foreach $val (@list) } # 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 password is required" if($passwd eq "");