summaryrefslogtreecommitdiff
path: root/controller/PostgreSQL.cpp
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2021-06-04 15:18:18 -0700
committerGrant Limberg <[email protected]>2021-06-04 15:18:18 -0700
commitb16f40c0de76192642e13f5993946c534375a9c6 (patch)
treea6fef5991c49d7a1ecc86197a912ee44a8063497 /controller/PostgreSQL.cpp
parentfd85f87adec7bfa4b3c8ea0af662400838839116 (diff)
.
Diffstat (limited to 'controller/PostgreSQL.cpp')
-rw-r--r--controller/PostgreSQL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp
index e7d23e4b..e035d4aa 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<int64_t>();
+ } else {
+ config["authenticationExpiryTime"] = 0;
}
config["objtype"] = "member";