SHA256
Исправить повторную авторизацию при входе
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
client.version=1.12.2
|
||||
client.version=1.12.3
|
||||
server.version=1.10.1
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user