浏览代码

fix backwards logic

Grant Limberg 4 年之前
父节点
当前提交
613d7b5ece
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/EmbeddedNetworkController.cpp

+ 1 - 1
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());