totp: Directly show secret to add

This commit is contained in:
Tom Wiesing 2023-01-12 17:35:45 +01:00
parent 202599aaeb
commit ef76844922
No known key found for this signature in database
3 changed files with 15 additions and 6 deletions

View file

@ -7,8 +7,13 @@
<img src="{{ .TOTPImage }}" alt="TOTP Enrollment Image">
</a>
<ul>
<li>scan the token above using a <a href="https://en.wikipedia.org/wiki/Time-based_one-time_password">TOTP</a> app on your phone</li>
<li>enter your current password and the now generated token to confirm</li>
<li>
Scan or click the token above to add it to a <a href="https://en.wikipedia.org/wiki/Time-based_one-time_password">TOTP</a> app
</li>
<li>
Alternatively enter the secret <code>{{ .TOTPSecret }}</code> into your app directly
</li>
<li>Next, enter your current password and the now generated token to confirm</li>
</ul>
</div>
{{ end }}