summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-01-22 00:28:14 +0000
committerGitHub <noreply@github.com>2021-01-22 01:28:14 +0100
commit20f980dcc22ac418bd8e570533ccd5766ef7b4bc (patch)
tree48463ac98d5d9afa26abda767e9bfdabdcfdcdd3 /web_src/js/index.js
parentaf7054511efdf1e0b36bd9e8c5744bce6ea1a5b9 (diff)
downloadgitea-20f980dcc22ac418bd8e570533ccd5766ef7b4bc.tar.gz
gitea-20f980dcc22ac418bd8e570533ccd5766ef7b4bc.zip
ensure timeout error is shown on u2f timeout (#14417)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 9a35507bab..9aa63a83ed 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -2243,7 +2243,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');