This commit is contained in:
BIG2EYEZ
2024-01-01 15:18:26 +08:00
parent 234906ada5
commit e538a5fb6e
5 changed files with 49 additions and 216 deletions

10
Sean/views/setup-mfa.ejs Normal file
View File

@ -0,0 +1,10 @@
<!-- setup-mfa.ejs (or your template engine's file) -->
<h2>Setup Multi-Factor Authentication</h2>
<p>Scan the QR code below with your authenticator app:</p>
<img src="<%= qrCodeDataUri %>" alt="QR Code">
<form action="/setup-mfa" method="post">
<label for="mfaCode">Enter MFA Code:</label>
<input type="text" id="mfaCode" name="mfaCode" required>
<button type="submit">Verify and Save</button>
</form>