2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 06:07:45 +00:00

Fixed crash in RecoverBox from PasscodeBox with custom check callback.

This commit is contained in:
23rd 2022-09-01 00:50:43 +03:00 committed by John Preston
parent 15aefddab4
commit 7e7562fdad

View File

@ -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(