Fixed crash in RecoverBox from PasscodeBox with custom check callback.
This commit is contained in:
parent
15aefddab4
commit
7e7562fdad
|
@ -1297,6 +1297,7 @@ void RecoverBox::proceedToChange(const QString &code) {
|
|||
// like if (_cloudFields.turningOff) { just RecoverPassword else Check }
|
||||
fields.mtp.curRequest = {};
|
||||
fields.hasPassword = false;
|
||||
fields.customCheckCallback = nullptr;
|
||||
auto box = Box<PasscodeBox>(_session, fields);
|
||||
|
||||
box->boxClosing(
|
||||
|
|
Loading…
Reference in New Issue