fix: simplify authentication logging by removing password handling

This commit is contained in:
MayaTheShy
2025-11-08 17:59:14 -05:00
parent 59093e79ba
commit f9c74e0d30

View File

@@ -41,14 +41,10 @@ bool OverteClient::connect() {
// Check for authentication credentials from environment
const char* usernameEnv = std::getenv("OVERTE_USERNAME");
const char* passwordEnv = std::getenv("OVERTE_PASSWORD");
if (usernameEnv) m_username = usernameEnv;
if (passwordEnv) m_password = passwordEnv;
if (!m_username.empty()) {
std::cout << "[OverteClient] Using authentication: username=" << m_username << std::endl;
} else {
std::cout << "[OverteClient] No authentication credentials provided (set OVERTE_USERNAME/OVERTE_PASSWORD)" << std::endl;
std::cout << "[OverteClient] Username present (signature auth not yet implemented)" << std::endl;
}
// Parse ws://host:port