diff --git a/src/NodeService.cpp b/src/NodeService.cpp index 6159ee1..b15fbee 100644 --- a/src/NodeService.cpp +++ b/src/NodeService.cpp @@ -112,7 +112,6 @@ public: // begin member variables -------------------------------------------------- const std::string _homePath; - std::string _authToken; const std::string _networksPath; const std::string _moonsPath; @@ -256,26 +255,6 @@ public: virtual ReasonForTermination run() { try { - { - const std::string authTokenPath(_homePath + ZT_PATH_SEPARATOR_S "authtoken.secret"); - if (!OSUtils::readFile(authTokenPath.c_str(),_authToken)) { - unsigned char foo[24]; - Utils::getSecureRandom(foo,sizeof(foo)); - _authToken = ""; - for(unsigned int i=0;i