Исправить повторную авторизацию при входе

This commit is contained in:
AidarKC
2026-09-09 10:23:36 +03:00
parent ae2f2fac41
commit f827c3e493
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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);