mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
.
This commit is contained in:
parent
fd85f87ade
commit
b16f40c0de
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue