small fix

This commit is contained in:
Adam Ierymenko 2021-07-26 13:11:01 -04:00
parent c2d8fe46d5
commit 0872012cd9
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -260,7 +260,9 @@ std::set< std::pair<uint64_t, uint64_t> > DBMirrorSet::membersExpiringSoon()
// Stop when we get to entries too far in the future.
break;
} else {
soon.insert(std::pair<uint64_t, uint64_t>(nwid, memberId));
const bool ssoEnabled = network["ssoEnabled"];
if (ssoEnabled)
soon.insert(std::pair<uint64_t, uint64_t>(nwid, memberId));
}
} else {
// Obsolete entry, no longer authorized, or SSO exempt.