diff --git a/files/www/cgi-bin/vpn b/files/www/cgi-bin/vpn index a84f2f88..69184397 100755 --- a/files/www/cgi-bin/vpn +++ b/files/www/cgi-bin/vpn @@ -148,6 +148,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 must contain at least one alphabetic character (#$client_num)" if ($passwd !~ /\D/); push @cli_err, "A client name is required" if($name eq ""); push @cli_err, "A client password is required" if($passwd eq "");