1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

[EC-598] feat: add automatic default timeouts

This commit is contained in:
Andreas Coroiu
2023-01-31 13:42:09 +01:00
parent c7e7ce832b
commit e981a1b0f2
2 changed files with 26 additions and 6 deletions

View File

@@ -188,4 +188,8 @@ export class BrowserFido2UserInterfaceService implements Fido2UserInterfaceServi
return false;
}
private setAbortTimeout(abortController: AbortController) {
return setTimeout(() => abortController.abort());
}
}