Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[photosw] Enable passkey for internal users

Neeraj Guptacb8738287a0a
diff --git a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx
index 3acd0326a6..bc0d0f5dd6 100644
--- a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx
+++ b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx
@@ -134,11 +134,13 @@ export default function UtilitySection({ closeSidebar }) {
label={t("TWO_FACTOR")}
/>
+ {isInternalUser() && (
<EnteMenuItem
variant="secondary"
onClick={redirectToAccountsPage}
label={t("PASSKEYS")}
/>
+ )}
<EnteMenuItem
variant="secondary"