fix typo in regex
This commit is contained in:
parent
139beb43a6
commit
6fb4e2a1b7
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ const (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
allowedClientName = regexp.MustCompile(`^[a-zA-Z0-9 ]+$`)
|
allowedClientName = regexp.MustCompile(`^[a-zA-Z0-9 ]+$`)
|
||||||
allowedPubKey = regexp.MustCompile(`^[a-zA-Z0-9=]$`)
|
allowedPubKey = regexp.MustCompile(`^[a-zA-Z0-9=]+$`)
|
||||||
)
|
)
|
||||||
|
|
||||||
// addVPNClient inserts new client config
|
// addVPNClient inserts new client config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue