fix finalization code flow

This commit is contained in:
Carson McManus 2021-08-25 09:07:58 -04:00
parent 001e507d30
commit 69169708ef

View file

@ -282,13 +282,12 @@ fn main() {
tries += 1;
if tries >= 30 {
error!("Failed to finalize: unable to generate valid 2fa codes");
break;
return;
}
continue;
}
Err(err) => {
error!("Failed to finalize: {}", err);
break;
return;
}
}
}