fix typo in regex
This commit is contained in:
parent
f52f85bf83
commit
2ce19c3faa
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ const (
|
|||
|
||||
var (
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue