mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Remove pointless check.
This commit is contained in:
parent
0872012cd9
commit
0cf62d334d
1 changed files with 12 additions and 14 deletions
|
@ -1367,7 +1367,6 @@ void EmbeddedNetworkController::_request(
|
|||
std::string memberId = member["id"];
|
||||
fprintf(stderr, "ssoEnabled && !ssoExempt %s-%s\n", nwids, memberId.c_str());
|
||||
uint64_t authenticationExpiryTime = (int64_t)OSUtils::jsonInt(member["authenticationExpiryTime"], 0);
|
||||
if (authenticationExpiryTime > 0) {
|
||||
fprintf(stderr, "authExpiryTime: %lld\n", authenticationExpiryTime);
|
||||
if (authenticationExpiryTime < now) {
|
||||
if (!authenticationURL.empty()) {
|
||||
|
@ -1383,7 +1382,6 @@ void EmbeddedNetworkController::_request(
|
|||
_db.memberExpiring(authenticationExpiryTime, nwid, identity.address().toInt());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (authorized) {
|
||||
// Update version info and meta-data if authorized and if this is a genuine request
|
||||
|
|
Loading…
Add table
Reference in a new issue