This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user