aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings/security
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/settings/security')
-rw-r--r--templates/user/settings/security/webauthn.tmpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/user/settings/security/webauthn.tmpl b/templates/user/settings/security/webauthn.tmpl
index e541f764bc..ec1df7cdcd 100644
--- a/templates/user/settings/security/webauthn.tmpl
+++ b/templates/user/settings/security/webauthn.tmpl
@@ -1,6 +1,4 @@
-<h4 class="ui top attached header">
-{{.locale.Tr "settings.webauthn"}}
-</h4>
+<h4 class="ui top attached header">{{.locale.Tr "settings.webauthn"}}</h4>
<div class="ui attached segment">
<p>{{.locale.Tr "settings.webauthn_desc" | Str2html}}</p>
{{template "user/auth/webauthn_error" .}}
@@ -20,7 +18,6 @@
{{end}}
</div>
<div class="ui form">
- {{.CsrfTokenHtml}}
<div class="required field">
<label for="nickname">{{.locale.Tr "settings.webauthn_nickname"}}</label>
<input id="nickname" name="nickname" type="text" required>
@@ -29,7 +26,6 @@
</div>
</div>
-
<div class="ui g-modal-confirm delete modal" id="delete-registration">
<div class="header">
{{svg "octicon-trash"}}