π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Immediately logout if too many attempts on lockscreen
ashilkn27dab947828f
diff --git a/mobile/lib/ui/tools/lock_screen.dart b/mobile/lib/ui/tools/lock_screen.dartindex 233bdb5087..18c407bb32 100644--- a/mobile/lib/ui/tools/lock_screen.dart+++ b/mobile/lib/ui/tools/lock_screen.dart@@ -196,14 +196,6 @@ class _LockScreenState extends State<LockScreen>Future<void> _autoLogoutOnMaxInvalidAttempts() async {_logger.info("Auto logout on max invalid attempts");- await _lockscreenSetting.setInvalidAttemptCount(0);- await showErrorDialog(- context,- "Too many incorrect attempts",- "Please login again",- isDismissable: false,- );- Navigator.of(context, rootNavigator: true).pop('dialog');Navigator.of(context).popUntil((route) => route.isFirst);final dialog = createProgressDialog(context, S.of(context).loggingOut);await dialog.show();