Add TOTP Token to account
This commit is contained in:
parent
b9795be745
commit
da32b67981
21 changed files with 724 additions and 13 deletions
17
internal/dis/component/auth/templates/totp_disable.html
Normal file
17
internal/dis/component/auth/templates/totp_disable.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{{ template "_form.html" . }}
|
||||
{{ define "form/title" }}Disable TOTP{{ end }}
|
||||
{{ define "form/button" }}Disable{{ end }}
|
||||
{{ define "form/extra" }}
|
||||
<div>
|
||||
<a class="pure-button" href="/auth/">Back</a>
|
||||
<hr />
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ define "form/inside" }}
|
||||
<div>
|
||||
<ul>
|
||||
<li>remove the TOTP token from your account</li>
|
||||
<li>your account will be less secure, but you will be able to login without it</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue