π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] authentication to view passkey
Aman Raj Singh Mourya6ba9ed9f8d4a
diff --git a/auth/lib/ui/settings/security_section_widget.dart b/auth/lib/ui/settings/security_section_widget.dartindex 38fa19f4a4..09dc14876a 100644--- a/auth/lib/ui/settings/security_section_widget.dart+++ b/auth/lib/ui/settings/security_section_widget.dart@@ -101,7 +101,18 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {pressedColor: getEnteColorScheme(context).fillFaint,trailingIcon: Icons.chevron_right_outlined,trailingIconIsMuted: true,- onTap: () async => await onPasskeyClick(context),+ onTap: () async {+ final bool hasAuthenticated = await LocalAuthenticationService+ .instance+ .requestLocalAuthentication(+ context,+ context.l10n.authToViewPasskey,+ );+ await PlatformUtil.refocusWindows();+ if (hasAuthenticated) {+ await onPasskeyClick(context);+ }+ },),sectionOptionSpacing,MenuItemWidget(