π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Generate the login TOTP after the rejected email attempt
Manav Rathia4440ae4d9b3
diff --git a/rust/apps/cli/tests/cli/account.rs b/rust/apps/cli/tests/cli/account.rsindex 0a8d8e55e1..1d64c823d5 100644--- a/rust/apps/cli/tests/cli/account.rs+++ b/rust/apps/cli/tests/cli/account.rs@@ -609,14 +609,14 @@ fn creation_enrollment_and_login_across_processes() -> ente_test_support::TestRe"--input","-",];- let mut input =- json!({"password": " secret π ", "otp": wrong_code, "totp": current_totp(secret)?});+ let mut input = json!({"password": " secret π ", "otp": wrong_code});let error = failure(&second.with_input(&login, &serde_json::to_vec(&input)?));assert!(error.contains("Incorrect email verification code"),"{error}");input["otp"] = code.into();+ input["totp"] = current_totp(secret)?.into();success(second.with_input(&login, &serde_json::to_vec(&input)?));assert_eq!(home.json(&["account", "recovery-key"]),