Grant Limberg 4 년 전
부모
커밋
b16f40c0de
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      controller/PostgreSQL.cpp

+ 2 - 0
controller/PostgreSQL.cpp

@@ -699,6 +699,8 @@ void PostgreSQL::initializeMembers()
 			if (authRes.size() == 1 && !authRes.at(0)[0].is_null()) {
 			if (authRes.size() == 1 && !authRes.at(0)[0].is_null()) {
 				// there is an expiry time record
 				// there is an expiry time record
 				config["authenticationExpiryTime"] = authRes.at(0)[0].as<int64_t>();
 				config["authenticationExpiryTime"] = authRes.at(0)[0].as<int64_t>();
+			} else {
+				config["authenticationExpiryTime"] = 0;
 			}
 			}
 
 
 			config["objtype"] = "member";
 			config["objtype"] = "member";