From 613d7b5ecece2d2bc7732092caa7a50db2421fb6 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Wed, 4 Aug 2021 09:16:04 -0700 Subject: [PATCH] fix backwards logic --- controller/EmbeddedNetworkController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index e54848ae..d228a368 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -1368,7 +1368,7 @@ void EmbeddedNetworkController::_request( fprintf(stderr, "ssoEnabled && !ssoExempt %s-%s\n", nwids, memberId.c_str()); uint64_t authenticationExpiryTime = (int64_t)OSUtils::jsonInt(member["authenticationExpiryTime"], 0); fprintf(stderr, "authExpiryTime: %lld\n", authenticationExpiryTime); - if (authenticationExpiryTime < now) { + if (authenticationExpiryTime >= now) { if (!authenticationURL.empty()) { Dictionary<3072> authInfo; authInfo.add("aU", authenticationURL.c_str());