1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-07-08 05:54:30 +08:00

ensure timeout error is shown on u2f timeout ()

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath
2021-01-22 00:28:14 +00:00
committed by GitHub
parent af7054511e
commit 20f980dcc2
2 changed files with 2 additions and 2 deletions
templates/user/auth
web_src/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');