Remove do not create client for now

Because its always created when the user joins the org


Former-commit-id: 8ebc678edb
This commit is contained in:
Owen
2025-11-08 16:54:35 -08:00
parent 78e3bb374a
commit 3d891cfa97
3 changed files with 50 additions and 50 deletions

View File

@@ -749,11 +749,11 @@ func TunnelProcess(ctx context.Context, config Config, id string, secret string,
if stopRegister == nil {
logger.Debug("Sending registration message to server with public key: %s and relay: %v", publicKey, !config.Holepunch)
stopRegister = olm.SendMessageInterval("olm/wg/register", map[string]interface{}{
"publicKey": publicKey.String(),
"relay": !config.Holepunch,
"olmVersion": config.Version,
"orgId": config.OrgID,
"doNotCreateNewClient": config.DoNotCreateNewClient,
"publicKey": publicKey.String(),
"relay": !config.Holepunch,
"olmVersion": config.Version,
"orgId": config.OrgID,
// "doNotCreateNewClient": config.DoNotCreateNewClient,
}, 1*time.Second)
}