mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-19 03:06:26 +00:00
set a default and goes boom 🤦♂️
This commit is contained in:
parent
91c4dfc7c0
commit
81fda3f5b8
@ -370,9 +370,11 @@ void PostgreSQL::updateMemberOnLoad(const uint64_t networkId, const uint64_t mem
|
|||||||
member["authenticationExpiryTime"] = authentication_expiry_time;
|
member["authenticationExpiryTime"] = authentication_expiry_time;
|
||||||
member["authenticationURL"] = authenticationURL;
|
member["authenticationURL"] = authenticationURL;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
member["authenticationExpiryTime"] = -1LL;
|
||||||
|
member["authenticationURL"] = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
w.commit();
|
|
||||||
_pool->unborrow(c);
|
_pool->unborrow(c);
|
||||||
|
|
||||||
} catch (sw::redis::Error &e) {
|
} catch (sw::redis::Error &e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user