From cf4db8cdfdb82f85dbcdda7ff67c25999e3f542a Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Wed, 10 May 2023 19:40:50 +0530 Subject: [PATCH] chore: fix preferences --- .../Components/Preferences/Panes/Security/Security.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/javascripts/Components/Preferences/Panes/Security/Security.tsx b/packages/web/src/javascripts/Components/Preferences/Panes/Security/Security.tsx index e2b64205e..765d52559 100644 --- a/packages/web/src/javascripts/Components/Preferences/Panes/Security/Security.tsx +++ b/packages/web/src/javascripts/Components/Preferences/Panes/Security/Security.tsx @@ -24,7 +24,8 @@ const Security: FunctionComponent = (props) => { const isNativeMobileWeb = props.application.isNativeMobileWeb() const isU2FFeatureAvailable = - props.application.features.getFeatureStatus(FeatureIdentifier.UniversalSecondFactor) === FeatureStatus.Entitled + props.application.features.getFeatureStatus(FeatureIdentifier.UniversalSecondFactor) === FeatureStatus.Entitled && + props.userProvider.getUser() !== undefined return (