mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
Provide information to set webauthn allow in html template (#455)
This commit is contained in:
@@ -44,6 +44,10 @@ export class TwoFactorComponent implements OnInit, OnDestroy {
|
||||
onSuccessfulLogin: () => Promise<any>;
|
||||
onSuccessfulLoginNavigate: () => Promise<any>;
|
||||
|
||||
get webAuthnAllow(): string {
|
||||
return `publickey-credentials-get ${this.environmentService.getWebVaultUrl()}`;
|
||||
}
|
||||
|
||||
protected loginRoute = 'login';
|
||||
protected successRoute = 'vault';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user