diff options
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/webauthn_error.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/security/webauthn.tmpl | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/templates/user/auth/webauthn_error.tmpl b/templates/user/auth/webauthn_error.tmpl index be46ee42a0..6f2980df7c 100644 --- a/templates/user/auth/webauthn_error.tmpl +++ b/templates/user/auth/webauthn_error.tmpl @@ -12,7 +12,7 @@ <div class="hide" data-webauthn-error-msg="duplicated"><p>{{.i18n.Tr "webauthn_error_duplicated"}}</div> <div class="hide" data-webauthn-error-msg="empty"><p>{{.i18n.Tr "webauthn_error_empty"}}</div> <div class="hide" data-webauthn-error-msg="timeout"><p>{{.i18n.Tr "webauthn_error_timeout"}}</div> - <div class="hide" data-webauthn-error-msg="0"></div> + <div class="hide" data-webauthn-error-msg="general"></div> </div> </div> <div class="actions"> diff --git a/templates/user/settings/security/webauthn.tmpl b/templates/user/settings/security/webauthn.tmpl index be8f8cccda..d447ec04b3 100644 --- a/templates/user/settings/security/webauthn.tmpl +++ b/templates/user/settings/security/webauthn.tmpl @@ -28,16 +28,6 @@ </div> </div> -<div class="ui small modal" id="register-device"> - <div class="header">{{.i18n.Tr "settings.webauthn_register_key"}}</div> - <div class="content"> - <i class="notched spinner loading icon"></i> {{.i18n.Tr "settings.webauthn_press_button"}} - </div> - <div class="actions"> - <div class="ui cancel button">{{.i18n.Tr "cancel"}}</div> - </div> -</div> - {{template "user/auth/webauthn_error" .}} <div class="ui small basic delete modal" id="delete-registration"> |