Skip to content

Commit

Permalink
Fix Re-send code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed May 30, 2024
1 parent 809c656 commit 38e1a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/gtk/source/ui/authentication/tfaslide.d
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class TFASlide: Box, AssistantSlide {
append(codeEntry);

auto resendButton = new LinkButton("Re-send the code");
resendButton.addOnClicked((_) { sendCode(); }); // TODO: Show error if code isn't sent again
resendButton.addOnActivateLink((_) { sendCode(); return true; }); // TODO: Show error if code isn't sent again
append(resendButton);

sendCode();
Expand Down

0 comments on commit 38e1a4a

Please sign in to comment.