NEW:clear token when account logs out

jira:[for logout]

Change-Id: Iafbdc9244419bb689a9626251064517ec5544c3d
(cherry picked from commit 6472fbdc6a7e7380538b6e2da29f802831a93157)
This commit is contained in:
tao wang 2024-10-10 16:40:18 +08:00 committed by Noisyfox
parent a90880193f
commit 5f3ff22218
3 changed files with 5 additions and 5 deletions

View file

@ -3730,7 +3730,7 @@ void GUI_App::request_user_logout()
{
if (m_agent && m_agent->is_user_login()) {
// Update data first before showing dialogs
m_agent->user_logout();
m_agent->user_logout(true);
m_agent->set_user_selected_machine("");
/* delete old user settings */
bool transfer_preset_changes = false;