totp debugging
This commit is contained in:
parent
e9b13aa873
commit
eeca341abf
1 changed files with 12 additions and 33 deletions
|
|
@ -198,39 +198,18 @@ defmodule ToweropsWeb.AccountLive.TotpEnrollment do
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-8 space-y-4">
|
||||
<div class="p-4 bg-yellow-50 dark:bg-yellow-900/20 rounded-lg border border-yellow-200 dark:border-yellow-800">
|
||||
<div class="flex">
|
||||
<.icon
|
||||
name="hero-exclamation-triangle"
|
||||
class="h-5 w-5 text-yellow-600 dark:text-yellow-400 mt-0.5 flex-shrink-0"
|
||||
/>
|
||||
<div class="ml-3">
|
||||
<p class="text-sm text-yellow-900 dark:text-yellow-100 font-semibold">
|
||||
Important: Do not refresh this page!
|
||||
</p>
|
||||
<p class="text-sm text-yellow-900 dark:text-yellow-100 mt-1">
|
||||
Each time you refresh, a new QR code is generated. You must scan the current QR code
|
||||
and enter the verification code immediately without refreshing.
|
||||
If you refresh by accident, you must scan the NEW QR code again.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg border border-blue-200 dark:border-blue-800">
|
||||
<div class="flex">
|
||||
<.icon
|
||||
name="hero-information-circle"
|
||||
class="h-5 w-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"
|
||||
/>
|
||||
<div class="ml-3">
|
||||
<p class="text-sm text-blue-900 dark:text-blue-100">
|
||||
<strong>Keep your device safe:</strong>
|
||||
You'll need to enter a code from your authenticator app each time you log in.
|
||||
Make sure to keep your phone secure and backed up.
|
||||
</p>
|
||||
</div>
|
||||
<div class="mt-8 p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg border border-blue-200 dark:border-blue-800">
|
||||
<div class="flex">
|
||||
<.icon
|
||||
name="hero-information-circle"
|
||||
class="h-5 w-5 text-blue-600 dark:text-blue-400 mt-0.5"
|
||||
/>
|
||||
<div class="ml-3">
|
||||
<p class="text-sm text-blue-900 dark:text-blue-100">
|
||||
<strong>Keep your device safe:</strong>
|
||||
You'll need to enter a code from your authenticator app each time you log in.
|
||||
Make sure to keep your phone secure and backed up.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue