fix backwards logic

This commit is contained in:
Grant Limberg 2021-08-04 09:16:04 -07:00
parent c101d71d7c
commit 613d7b5ece
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A

View File

@ -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());