1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

PM-8111 - New Login Comp + Login Comp Svc - (1) Refactor naming and returns of getShowPasswordlessFlag to isLoginViaAuthRequestSupported (2) Replace showPasswordless with better composed variable names.

This commit is contained in:
Jared Snider
2024-09-30 15:30:31 -04:00
parent 79b2633d9e
commit d1a0c2f5f5
6 changed files with 13 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ export class ExtensionLoginComponentService
extends DefaultLoginComponentService
implements LoginComponentService
{
getShowPasswordlessFlag(): boolean {
isLoginViaAuthRequestSupported(): boolean {
return flagEnabled("showPasswordless");
}
}

View File

@@ -27,7 +27,7 @@ export class WebLoginComponentService
router = inject(Router);
routerService = inject(RouterService);
getShowPasswordlessFlag(): boolean {
isLoginViaAuthRequestSupported(): boolean {
return flagEnabled("showPasswordless");
}