SHA256
Очистить устаревший черновик регистрации
This commit is contained in:
@@ -83,6 +83,9 @@ async function simulateCompletion({ headerFails = false } = {}) {
|
||||
authorizeSession: ({ login }) => calls.push(['authorized', login]),
|
||||
refreshSessions: async () => calls.push(['refreshed']),
|
||||
setAuthInfo: () => calls.push(['info']),
|
||||
resetRegistrationFlow: () => {
|
||||
state.registrationDraft.password = '';
|
||||
},
|
||||
console: { warn: (...args) => calls.push(['warning', ...args]) },
|
||||
};
|
||||
const func = vm.runInNewContext(`async function completeRegistrationLogin${finish}\ncompleteRegistrationLogin`, context);
|
||||
|
||||
Reference in New Issue
Block a user