From a86a0db8f838b7bc678b12e5654482a5c4db4fd4 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 9 Mar 2020 14:32:42 -0700 Subject: [PATCH] server connection store credentials --- src/serverconn.cpp | 7 +++++-- src/serverconn.h | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/serverconn.cpp b/src/serverconn.cpp index 9bfafeb..4f6a259 100644 --- a/src/serverconn.cpp +++ b/src/serverconn.cpp @@ -134,7 +134,6 @@ void ServerConn::handle_CONNECTION_VALIDATION() Value auth; from_wire_type_value(M, rxRegistry, auth); - // TODO store credentials if(!M.good()) { log_err_printf(connio, "Client %s Truncated/Invalid ConnValid from client\n", peerName.c_str()); @@ -145,6 +144,9 @@ void ServerConn::handle_CONNECTION_VALIDATION() log_debug_printf(connsetup, "Client %s authenticates using %s and %s\n", peerName.c_str(), selected.c_str(), std::string(SB()< > chanBySID;