Skip to content

Commit 8601d82

Browse files
committed
Bumped up version to 2.8.0-alpha5
1 parent 35c520f commit 8601d82

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/slic3r/GUI/UserAccountCommunication.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,7 @@ UserAccountCommunication::UserAccountCommunication(wxEvtHandler* evt_handler, Ap
161161
shared_session_key = key0;
162162

163163
} else {
164-
access_token = m_app_config->get("access_token");
165-
refresh_token = m_app_config->get("refresh_token");
166-
shared_session_key = m_app_config->get("shared_session_key");
167-
next_timeout = m_app_config->get("access_token_timeout");
164+
// Do nothing.
168165
}
169166
long long next = next_timeout.empty() ? 0 : std::stoll(next_timeout);
170167
long long remain_time = next - std::time(nullptr);
@@ -214,10 +211,7 @@ void UserAccountCommunication::set_username(const std::string& username)
214211
save_secret("tokens", m_session->get_shared_session_key(), tokens);
215212
}
216213
else {
217-
m_app_config->set("access_token", m_remember_session ? m_session->get_access_token() : std::string());
218-
m_app_config->set("refresh_token", m_remember_session ? m_session->get_refresh_token() : std::string());
219-
m_app_config->set("shared_session_key", m_remember_session ? m_session->get_shared_session_key() : std::string());
220-
m_app_config->set("access_token_timeout", m_remember_session ? GUI::format("%1%", m_session->get_next_token_timeout()) : "0");
214+
// If we can't store the tokens securely, don't store them at all.
221215
}
222216
}
223217
}

version.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
set(SLIC3R_APP_NAME "PrusaSlicer")
55
set(SLIC3R_APP_KEY "PrusaSlicer")
6-
set(SLIC3R_VERSION "2.8.0-alpha4")
6+
set(SLIC3R_VERSION "2.8.0-alpha5")
77
set(SLIC3R_BUILD_ID "PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN")
88
set(SLIC3R_RC_VERSION "2,8,0,0")
99
set(SLIC3R_RC_VERSION_DOTS "2.8.0.0")

0 commit comments

Comments
 (0)