mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Fixed crash in RecoverBox from PasscodeBox with custom check callback.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user