diff --git a/templates/user/auth/u2f_error.tmpl b/templates/user/auth/u2f_error.tmpl index e30b064720..5bda372fe8 100644 --- a/templates/user/auth/u2f_error.tmpl +++ b/templates/user/auth/u2f_error.tmpl @@ -20,7 +20,7 @@
{{.i18n.Tr "u2f_error_4"}}
-
+
{{.i18n.Tr "u2f_error_5"}}
diff --git a/web_src/js/index.js b/web_src/js/index.js index 8917ffda6f..d42827f13b 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2198,7 +2198,7 @@ function u2fError(errorType) { 2: $('#u2f-error-2'), 3: $('#u2f-error-3'), 4: $('#u2f-error-4'), - 5: $('.u2f-error-5') + 5: $('.u2f_error_5') }; u2fErrors[errorType].removeClass('hide');