fix: simplify authentication logging by removing password handling
This commit is contained in:
@@ -41,14 +41,10 @@ bool OverteClient::connect() {
|
|||||||
|
|
||||||
// Check for authentication credentials from environment
|
// Check for authentication credentials from environment
|
||||||
const char* usernameEnv = std::getenv("OVERTE_USERNAME");
|
const char* usernameEnv = std::getenv("OVERTE_USERNAME");
|
||||||
const char* passwordEnv = std::getenv("OVERTE_PASSWORD");
|
|
||||||
if (usernameEnv) m_username = usernameEnv;
|
if (usernameEnv) m_username = usernameEnv;
|
||||||
if (passwordEnv) m_password = passwordEnv;
|
|
||||||
|
|
||||||
if (!m_username.empty()) {
|
if (!m_username.empty()) {
|
||||||
std::cout << "[OverteClient] Using authentication: username=" << m_username << std::endl;
|
std::cout << "[OverteClient] Username present (signature auth not yet implemented)" << std::endl;
|
||||||
} else {
|
|
||||||
std::cout << "[OverteClient] No authentication credentials provided (set OVERTE_USERNAME/OVERTE_PASSWORD)" << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse ws://host:port
|
// Parse ws://host:port
|
||||||
|
|||||||
Reference in New Issue
Block a user