mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
timeout when trying u2f again
This commit is contained in:
@@ -73,9 +73,14 @@ function initU2f(obj) {
|
||||
if (data.errorCode) {
|
||||
if (data.errorCode !== 5) {
|
||||
error('U2F Error: ' + data.errorCode);
|
||||
setTimeout(function () {
|
||||
initU2f(obj);
|
||||
}, 1000)
|
||||
}
|
||||
else {
|
||||
initU2f(obj);
|
||||
}
|
||||
|
||||
initU2f(obj);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user