feature/vendor-admin-account-settings #60

Merged
hsiegeln merged 2 commits from feature/vendor-admin-account-settings into main 2026-04-27 15:58:05 +02:00
Showing only changes of commit ab800bbef9 - Show all commits

View File

@@ -162,7 +162,11 @@ export function MfaSection() {
Scan this QR code with your authenticator app (Google Authenticator, Authy, 1Password, etc.), then enter the 6-digit code below.
</p>
<div style={{ display: 'flex', justifyContent: 'center', padding: '16px 0' }}>
<QRCodeSVG value={setupData.secretQrCode} size={200} />
{setupData.secretQrCode.startsWith('data:') ? (
<img src={setupData.secretQrCode} alt="TOTP QR Code" width={200} height={200} />
) : (
<QRCodeSVG value={setupData.secretQrCode} size={200} />
)}
</div>
<div style={{
textAlign: 'center',