🐛fix a bug
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
coward
2024-06-07 09:54:30 +08:00
parent 911bc95b16
commit 36951a5bb8
5 changed files with 23 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ func asyncWireguardConfigFile() {
var renderClients []template_data.Client
for _, v := range serverEnt.Clients {
// 如果不是确认后创建或者未启用就不写入到wireguard配置文件当中
if *v.EnableAfterCreation != 1 || *v.Enabled != 1 {
if *v.Enabled != 1 {
continue
}
var clientKey template_data.Keys