mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Ensure Passkey login available for web and desktop.
This commit is contained in:
@@ -37,7 +37,7 @@ export class DefaultLoginComponentService implements LoginComponentService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isLoginWithPasskeySupported(): boolean {
|
isLoginWithPasskeySupported(): boolean {
|
||||||
return this.clientType === ClientType.Web;
|
return this.clientType === ClientType.Web || this.clientType === ClientType.Desktop;
|
||||||
}
|
}
|
||||||
|
|
||||||
async launchSsoBrowserWindow(
|
async launchSsoBrowserWindow(
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
<div class="tw-text-center">{{ "or" | i18n }}</div>
|
<div class="tw-text-center">{{ "or" | i18n }}</div>
|
||||||
|
|
||||||
<!-- Link to Login with Passkey page (Browser only) -->
|
<!-- Link to Login with Passkey page (Web and Desktop only) -->
|
||||||
<ng-container *ngIf="isLoginWithPasskeySupported()">
|
<ng-container *ngIf="isLoginWithPasskeySupported()">
|
||||||
<a
|
<a
|
||||||
bitButton
|
bitButton
|
||||||
|
|||||||
Reference in New Issue
Block a user