mirror of
https://github.com/BradNut/example-sveltekit-email-password-webauthn
synced 2025-09-08 17:40:27 +00:00
fix totp title
This commit is contained in:
parent
ebad403bce
commit
85ef71a6f7
3 changed files with 4 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
export let form: ActionData;
|
export let form: ActionData;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Two-factor authentication</h1>
|
<h1>Authenticate with authenticator app</h1>
|
||||||
<form method="post" use:enhance>
|
<form method="post" use:enhance>
|
||||||
<label for="form-totp.code">Enter the code from your app</label>
|
<label for="form-totp.code">Enter the code from your app</label>
|
||||||
<input id="form-totp.code" name="code" autocomplete="one-time-code" required /><br />
|
<input id="form-totp.code" name="code" autocomplete="one-time-code" required /><br />
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
export let form: ActionData;
|
export let form: ActionData;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Set up two-factor authentication</h1>
|
<h1>Set up authenticator app</h1>
|
||||||
<div style="width:200px; height: 200px;">
|
<div style="width:200px; height: 200px;">
|
||||||
{@html data.qrcode}
|
{@html data.qrcode}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,9 @@
|
||||||
export let form: ActionData;
|
export let form: ActionData;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Two-factor authentication</h1>
|
<h1>Authenticate with authenticator app</h1>
|
||||||
<p>Enter the code in your authenticator app.</p>
|
|
||||||
<form method="post" use:enhance>
|
<form method="post" use:enhance>
|
||||||
<label for="form-totp.code">Code</label>
|
<label for="form-totp.code">Enter the code from your app</label>
|
||||||
<input id="form-totp.code" name="code" required /><br />
|
<input id="form-totp.code" name="code" required /><br />
|
||||||
<button>Verify</button>
|
<button>Verify</button>
|
||||||
<p>{form?.message ?? ""}</p>
|
<p>{form?.message ?? ""}</p>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue