File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
libs/key-management-ui/src/lock/services Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,12 @@ export class DefaultWebAuthnPrfUnlockService implements WebAuthnPrfUnlockService
5454 return false ;
5555 }
5656
57- // If we're in the browser extension, check if we're in a Chromium browser
58- if (
59- this . platformUtilsService . getClientType ( ) === ClientType . Browser &&
60- ! this . platformUtilsService . isChromium ( )
61- ) {
57+ // PRF unlock is only supported on Web and Chromium-based browser extensions
58+ const clientType = this . platformUtilsService . getClientType ( ) ;
59+ if ( clientType === ClientType . Browser && ! this . platformUtilsService . isChromium ( ) ) {
60+ return false ;
61+ }
62+ if ( clientType !== ClientType . Web && clientType !== ClientType . Browser ) {
6263 return false ;
6364 }
6465
You can’t perform that action at this time.
0 commit comments