feat(frontend/otp): allow changing otp status and showing qrcode

This commit is contained in:
Maieul BOYER 2025-12-06 19:07:13 +01:00
parent 2ad9fe9859
commit 085de41194
No known key found for this signature in database
4 changed files with 359 additions and 59 deletions

View file

@ -59,7 +59,12 @@
</div>
</div>
<p id="totpSecretBox" class="mt-3 text-sm bg-gray-100 border p-2 rounded hidden"></p>
<div id="totpSecretBox" class="mt-3 text-sm bg-gray-100 border p-2 rounded hidden">
<canvas id="totpSecretCanvas" class="w-full h-full block"> </canvas>
<div id="totpSecretText"
class="w-full max-w-md p-3 border border-gray-300 rounded-lg overflow-y-auto bg-white text-gray-800 whitespace-pre-wrap">
</div>
</div>
</div>
</div>