fix finalization code flow
This commit is contained in:
parent
001e507d30
commit
69169708ef
1 changed files with 2 additions and 3 deletions
|
@ -282,13 +282,12 @@ fn main() {
|
||||||
tries += 1;
|
tries += 1;
|
||||||
if tries >= 30 {
|
if tries >= 30 {
|
||||||
error!("Failed to finalize: unable to generate valid 2fa codes");
|
error!("Failed to finalize: unable to generate valid 2fa codes");
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
error!("Failed to finalize: {}", err);
|
error!("Failed to finalize: {}", err);
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue