mirror of https://github.com/aredn/aredn.git
bugfix: added @ to acceptable password chars
This commit is contained in:
parent
5dd3e19c42
commit
bd3190a8ff
|
@ -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 "");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue