Adam Ierymenko преди 4 години
родител
ревизия
0872012cd9
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      controller/DBMirrorSet.cpp

+ 3 - 1
controller/DBMirrorSet.cpp

@@ -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.