From 626f488cb4d12c5b11c80d3a05535d3d111e9fc4 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Wed, 15 Jun 2022 16:37:09 -0700 Subject: [PATCH] quiet down the controller logs a smidge --- controller/PostgreSQL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index 7572682c1..a780520ac 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -483,6 +483,7 @@ AuthInfo PostgreSQL::getSSOAuthInfo(const nlohmann::json &member, const std::str info.ssoNonce = nonce; info.ssoState = std::string(state_hex) + "_" +networkId; info.centralAuthURL = redirectURL; +#ifdef ZT_DEBUG fprintf( stderr, "ssoClientID: %s\nissuerURL: %s\nssoNonce: %s\nssoState: %s\ncentralAuthURL: %s\n", @@ -491,6 +492,7 @@ AuthInfo PostgreSQL::getSSOAuthInfo(const nlohmann::json &member, const std::str info.ssoNonce.c_str(), info.ssoState.c_str(), info.centralAuthURL.c_str()); +#endif } } else { fprintf(stderr, "client_id: %s\nauthorization_endpoint: %s\n", client_id.c_str(), authorization_endpoint.c_str());