mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 16:51:38 +10:00
feat: ability to download 2FA recovery codes
This commit is contained in:
@ -153,7 +153,7 @@ export const ViewRecoveryCodesDialog = ({ open, onOpenChange }: ViewRecoveryCode
|
|||||||
<div className="mt-4 flex flex-row-reverse items-center gap-2">
|
<div className="mt-4 flex flex-row-reverse items-center gap-2">
|
||||||
<Button onClick={() => onOpenChange(false)}>Complete</Button>
|
<Button onClick={() => onOpenChange(false)}>Complete</Button>
|
||||||
<a download="documenso-2FA-recovery-codes.txt" href={recoveryCodesUrl}>
|
<a download="documenso-2FA-recovery-codes.txt" href={recoveryCodesUrl}>
|
||||||
<Button>Download</Button>
|
<Button variant="secondary">Download</Button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user