diff --git a/VERSION.properties b/VERSION.properties index 521538c7..a9b1d142 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.12.2 +client.version=1.12.3 server.version=1.10.1 diff --git a/shine-UI/js/pages/login-password-view.js b/shine-UI/js/pages/login-password-view.js index 2e1b9b4a..2f869e8a 100644 --- a/shine-UI/js/pages/login-password-view.js +++ b/shine-UI/js/pages/login-password-view.js @@ -113,7 +113,7 @@ export function render({ navigate }) { enterButton.disabled = true; try { - await authService.reconnect(state.entrySettings.shineServer); + authService.resetConnection(state.entrySettings.shineServer, { clearSessionContext: true }); // Повторная проверка защищает UI от смены access server между первым экраном и входом. const resolved = await authService.resolveLoginForAuth(currentLogin); diff --git a/shine-UI/js/state.js b/shine-UI/js/state.js index b5002c4d..1e406789 100644 --- a/shine-UI/js/state.js +++ b/shine-UI/js/state.js @@ -1313,6 +1313,7 @@ export async function closeSavedProfile(login) { if (!next) { setActiveProfileLoginRaw(''); clearStoredSession(); + authService.resetConnection(state.entrySettings.shineServer, { clearSessionContext: true }); return { closed: true, nextProfile: null }; } setActiveProfileLoginRaw(next.login);