فهرست منبع

Forgot to set auth info in NetworkConfig.

Adam Ierymenko 4 سال پیش
والد
کامیت
621898f3c5
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      controller/EmbeddedNetworkController.cpp

+ 3 - 0
controller/EmbeddedNetworkController.cpp

@@ -1379,6 +1379,9 @@ void EmbeddedNetworkController::_request(
 	// If we made it this far, they are authorized (and authenticated).
 	// If we made it this far, they are authorized (and authenticated).
 	// -------------------------------------------------------------------------
 	// -------------------------------------------------------------------------
 
 
+	nc->authenticationURL = authenticationURL;
+	nc->authenticationExpiryTime = authenticationExpiryTime;
+
 	int64_t credentialtmd = ZT_NETWORKCONFIG_DEFAULT_CREDENTIAL_TIME_MAX_MAX_DELTA;
 	int64_t credentialtmd = ZT_NETWORKCONFIG_DEFAULT_CREDENTIAL_TIME_MAX_MAX_DELTA;
 	if (now > ns.mostRecentDeauthTime) {
 	if (now > ns.mostRecentDeauthTime) {
 		// If we recently de-authorized a member, shrink credential TTL/max delta to
 		// If we recently de-authorized a member, shrink credential TTL/max delta to