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
|
server.version=1.10.1
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ export function render({ navigate }) {
|
|||||||
enterButton.disabled = true;
|
enterButton.disabled = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await authService.reconnect(state.entrySettings.shineServer);
|
authService.resetConnection(state.entrySettings.shineServer, { clearSessionContext: true });
|
||||||
|
|
||||||
// Повторная проверка защищает UI от смены access server между первым экраном и входом.
|
// Повторная проверка защищает UI от смены access server между первым экраном и входом.
|
||||||
const resolved = await authService.resolveLoginForAuth(currentLogin);
|
const resolved = await authService.resolveLoginForAuth(currentLogin);
|
||||||
|
|||||||
@@ -1313,6 +1313,7 @@ export async function closeSavedProfile(login) {
|
|||||||
if (!next) {
|
if (!next) {
|
||||||
setActiveProfileLoginRaw('');
|
setActiveProfileLoginRaw('');
|
||||||
clearStoredSession();
|
clearStoredSession();
|
||||||
|
authService.resetConnection(state.entrySettings.shineServer, { clearSessionContext: true });
|
||||||
return { closed: true, nextProfile: null };
|
return { closed: true, nextProfile: null };
|
||||||
}
|
}
|
||||||
setActiveProfileLoginRaw(next.login);
|
setActiveProfileLoginRaw(next.login);
|
||||||
|
|||||||
Reference in New Issue
Block a user