Add backend provided message to all auth loggings

This commit is contained in:
Lion Kortlepel 2022-02-15 15:20:25 +01:00
parent 944b68c6d5
commit a44684f6e7
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -109,10 +109,10 @@ void THeartbeatThread::operator()() {
if (Ok && !isAuth) { if (Ok && !isAuth) {
if (Status == "2000") { if (Status == "2000") {
beammp_info(("Authenticated!")); beammp_info(("Authenticated! " + Message));
isAuth = true; isAuth = true;
} else if (Status == "200") { } else if (Status == "200") {
beammp_info(("Resumed authenticated session!")); beammp_info(("Resumed authenticated session! " + Message));
isAuth = true; isAuth = true;
} else { } else {
if (Message.empty()) { if (Message.empty()) {