Skip to content

Conversation

@imran-vz
Copy link
Contributor

What is this PR about?

Added a Button on the 2FA Setup Modal to copy the backup code to clipboard.

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

None

Screenshots (if applicable)

Screenshot 2025-10-14 at 23 33 51

@imran-vz imran-vz requested a review from Siumauricio as a code owner October 14, 2025 18:07
@dennisimoo
Copy link
Contributor

I think you should be able to download them too.

Comment on lines 300 to 302
navigator.clipboard.writeText(
backupCodes.join("\n"),
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please the library we have installed:

import copy from "copy-to-clipboard";

@imran-vz
Copy link
Contributor Author

imran-vz commented Oct 16, 2025

Both the comments are addressed.
image

@imran-vz imran-vz requested a review from Siumauricio October 16, 2025 06:04
Copy link
Contributor

@Siumauricio Siumauricio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@Siumauricio Siumauricio merged commit 0b1e79a into Dokploy:canary Oct 25, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants