π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Lint fixes
Neeraj Guptab8e89ac78a43
diff --git a/auth/lib/models/code.dart b/auth/lib/models/code.dartindex 1229bc61a5..5f7cc0f135 100644--- a/auth/lib/models/code.dart+++ b/auth/lib/models/code.dart@@ -147,7 +147,9 @@ class Code {return Code.fromOTPAuthUrl(rawData.replaceAll("#", '%23'));} else {Logger("Code").warning(- 'Error while parsing code for issuer $issuer, $account', e);+ 'Error while parsing code for issuer $issuer, $account',+ e,+ );rethrow;}}diff --git a/auth/lib/services/user_service.dart b/auth/lib/services/user_service.dartindex ca88796f15..313e96a8b1 100644--- a/auth/lib/services/user_service.dart+++ b/auth/lib/services/user_service.dart@@ -581,7 +581,7 @@ class UserService {SetupSRPResponse.fromJson(response.data);final serverB =SRP6Util.decodeBigInt(base64Decode(setupSRPResponse.srpB));- // ignore: need to calculate secret to get M1, unused_local_variable+ // ignore: unused_local_variablefinal clientS = client.calculateSecret(serverB);final clientM = client.calculateClientEvidenceMessage();@@ -667,7 +667,8 @@ class UserService {final String srpB = createSessionResponse.data["srpB"];final serverB = SRP6Util.decodeBigInt(base64Decode(srpB));- // ignore: need to calculate secret to get M1, unused_local_variable++ // ignore: unused_local_variablefinal clientS = client.calculateSecret(serverB);final clientM = client.calculateClientEvidenceMessage();final response = await _dio.post(