diff --git a/src/slic3r/GUI/UserAccountCommunication.cpp b/src/slic3r/GUI/UserAccountCommunication.cpp index 65dc3d2c64..3c7cc539e8 100644 --- a/src/slic3r/GUI/UserAccountCommunication.cpp +++ b/src/slic3r/GUI/UserAccountCommunication.cpp @@ -161,10 +161,7 @@ UserAccountCommunication::UserAccountCommunication(wxEvtHandler* evt_handler, Ap shared_session_key = key0; } else { - access_token = m_app_config->get("access_token"); - refresh_token = m_app_config->get("refresh_token"); - shared_session_key = m_app_config->get("shared_session_key"); - next_timeout = m_app_config->get("access_token_timeout"); + // Do nothing. } long long next = next_timeout.empty() ? 0 : std::stoll(next_timeout); long long remain_time = next - std::time(nullptr); @@ -214,10 +211,7 @@ void UserAccountCommunication::set_username(const std::string& username) save_secret("tokens", m_session->get_shared_session_key(), tokens); } else { - m_app_config->set("access_token", m_remember_session ? m_session->get_access_token() : std::string()); - m_app_config->set("refresh_token", m_remember_session ? m_session->get_refresh_token() : std::string()); - m_app_config->set("shared_session_key", m_remember_session ? m_session->get_shared_session_key() : std::string()); - m_app_config->set("access_token_timeout", m_remember_session ? GUI::format("%1%", m_session->get_next_token_timeout()) : "0"); + // If we can't store the tokens securely, don't store them at all. } } } diff --git a/version.inc b/version.inc index 5ecdfc3b55..9418876202 100644 --- a/version.inc +++ b/version.inc @@ -3,7 +3,7 @@ set(SLIC3R_APP_NAME "PrusaSlicer") set(SLIC3R_APP_KEY "PrusaSlicer") -set(SLIC3R_VERSION "2.8.0-alpha4") +set(SLIC3R_VERSION "2.8.0-alpha5") set(SLIC3R_BUILD_ID "PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN") set(SLIC3R_RC_VERSION "2,8,0,0") set(SLIC3R_RC_VERSION_DOTS "2.8.0.0")