diff options
author | Matthew Miller <matthew@millerti.me> | 2022-11-03 20:54:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 20:54:24 -0700 |
commit | b393602ae509f333092b57a10e4353edb9c19544 (patch) | |
tree | bd1ae8d9ec4ce0730884db7e714ca2818384ad58 | |
parent | cddbe4c357a059d4dca86cf3834a4e7153383b73 (diff) | |
parent | 7e762ee19038b63489638a040d065dcafb03ed47 (diff) |
Merge pull request #298 from MasterKale/fix/295-remove-old-chrome-condtional-ui
fix/295-remove-old-chrome-condtional-ui
-rw-r--r-- | packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts index ffca77d..117bf4c 100644 --- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts +++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts @@ -6,12 +6,6 @@ import { PublicKeyCredentialFuture } from '@simplewebauthn/typescript-types'; * be shown to the user in the browser's typical password autofill popup. */ export async function browserSupportsWebAuthnAutofill(): Promise<boolean> { - // Just for Chrome Canary right now; the PublicKeyCredential logic below is the real API - // @ts-ignore - if (navigator.credentials.conditionalMediationSupported) { - return true; - } - /** * I don't like the `as unknown` here but there's a `declare var PublicKeyCredential` in * TS' DOM lib that's making it difficult for me to just go `as PublicKeyCredentialFuture` as I |