diff --git a/src/auth/ctrlm_thunder_plugin_authservice.cpp b/src/auth/ctrlm_thunder_plugin_authservice.cpp index aaaa4e1..60c57d7 100644 --- a/src/auth/ctrlm_thunder_plugin_authservice.cpp +++ b/src/auth/ctrlm_thunder_plugin_authservice.cpp @@ -22,8 +22,6 @@ #include #include -#define SAT_TIMEOUT_RETRIES (2) - using namespace Thunder; using namespace AuthService; using namespace WPEFramework; @@ -148,7 +146,7 @@ bool ctrlm_thunder_plugin_authservice_t::get_experience(std::string &experience) bool ctrlm_thunder_plugin_authservice_t::get_sat(std::string &sat, time_t &expiration) { bool ret = false; JsonObject params, response; - if(this->call_plugin("getServiceAccessToken", (void *)¶ms, (void *)&response, SAT_TIMEOUT_RETRIES)) { + if(this->call_plugin("getServiceAccessToken", (void *)¶ms, (void *)&response)) { if(response["success"].Boolean()) { // If success doesn't exist, it defaults to false which is fine. if(response["status"].Number() == 0) { std::string temp = response["token"].String();