mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
switch to jslib auth service
This commit is contained in:
@@ -152,6 +152,14 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
return BrowserApi.getApplicationVersion();
|
||||
}
|
||||
|
||||
supportsU2f(win: Window): boolean {
|
||||
if (win != null && (win as any).u2f !== 'undefined') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return this.isChrome() || this.isOpera();
|
||||
}
|
||||
|
||||
private sidebarViewName(): string {
|
||||
if ((window as any).chrome.sidebarAction && this.isFirefox()) {
|
||||
return 'sidebar';
|
||||
|
||||
Reference in New Issue
Block a user