소스 검색

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