From 841efac895722f9b4575fce2febcef0a6d45f187 Mon Sep 17 00:00:00 2001 From: zeripath Date: Sat, 23 Jan 2021 04:11:57 +0000 Subject: [PATCH] ensure timeout error is shown on u2f timeout (#14417) (#14431) Backport #14417 Signed-off-by: Andrew Thornton Co-authored-by: Lunny Xiao Co-authored-by: 6543 <6543@obermui.de> --- templates/user/auth/u2f_error.tmpl | 2 +- web_src/js/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/auth/u2f_error.tmpl b/templates/user/auth/u2f_error.tmpl index e30b0647201bf..5bda372fe8caa 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 8917ffda6fff1..d42827f13b186 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');