From b16f40c0de76192642e13f5993946c534375a9c6 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 4 Jun 2021 15:18:18 -0700 Subject: [PATCH] . --- controller/PostgreSQL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index e7d23e4b7..e035d4aab 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -699,6 +699,8 @@ void PostgreSQL::initializeMembers() if (authRes.size() == 1 && !authRes.at(0)[0].is_null()) { // there is an expiry time record config["authenticationExpiryTime"] = authRes.at(0)[0].as(); + } else { + config["authenticationExpiryTime"] = 0; } config["objtype"] = "member";