mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-17 20:46:54 +02:00
set a default and goes boom 🤦♂️
This commit is contained in:
parent
91c4dfc7c0
commit
81fda3f5b8
1 changed files with 4 additions and 2 deletions
|
@ -369,10 +369,12 @@ void PostgreSQL::updateMemberOnLoad(const uint64_t networkId, const uint64_t mem
|
|||
|
||||
member["authenticationExpiryTime"] = authentication_expiry_time;
|
||||
member["authenticationURL"] = authenticationURL;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
member["authenticationExpiryTime"] = -1LL;
|
||||
member["authenticationURL"] = "";
|
||||
}
|
||||
|
||||
w.commit();
|
||||
_pool->unborrow(c);
|
||||
|
||||
} catch (sw::redis::Error &e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue