This commit is contained in:
gpt-engineer-app[bot]
2026-01-14 02:24:13 +00:00
parent 3dee2968c2
commit 6e473725b4
@@ -205,7 +205,7 @@ export function TotpEnrollmentWizard({
<> <>
<div className="flex justify-center p-4 bg-white rounded-lg"> <div className="flex justify-center p-4 bg-white rounded-lg">
<img <img
src={`data:image/png;base64,${enrollmentData.qr_code}`} src={enrollmentData.qr_code.startsWith('data:') ? enrollmentData.qr_code : `data:image/png;base64,${enrollmentData.qr_code}`}
alt="TOTP QR Code" alt="TOTP QR Code"
className="w-48 h-48" className="w-48 h-48"
/> />