SHA256
Очистить устаревший черновик регистрации
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
authService,
|
||||
authorizeSession,
|
||||
clearAuthMessages,
|
||||
resetRegistrationFlow,
|
||||
consumeAuthReturnPage,
|
||||
refreshSessions,
|
||||
setAuthBusy,
|
||||
@@ -157,14 +158,7 @@ export function render({ navigate }) {
|
||||
state.loginDraft.password = '';
|
||||
state.loginDraft.passwordMode = 'single';
|
||||
state.loginDraft.passwordWords = emptyPasswordWords();
|
||||
state.registrationDraft.flowType = '';
|
||||
state.registrationDraft.password = '';
|
||||
state.registrationDraft.passwordMode = 'single';
|
||||
state.registrationDraft.passwordWords = emptyPasswordWords();
|
||||
state.registrationDraft.storagePwd = '';
|
||||
state.registrationDraft.sessionId = '';
|
||||
state.registrationDraft.pendingKeyBundle = null;
|
||||
state.registrationDraft.pendingSessionMaterial = null;
|
||||
resetRegistrationFlow();
|
||||
|
||||
await refreshSessions();
|
||||
setAuthInfo(t('screens.login_password_view.text_010', { value1: result.login }));
|
||||
|
||||
Reference in New Issue
Block a user