π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Improve account name parsing
Neeraj Gupta59a68b56bc23
diff --git a/auth/lib/models/code.dart b/auth/lib/models/code.dartindex f9803cbe58..cd91354ca1 100644--- a/auth/lib/models/code.dart+++ b/auth/lib/models/code.dart@@ -170,8 +170,10 @@ class Code {if (uri.queryParameters.containsKey("issuer") && !path.contains(":")) {return path;}- return path.split(':')[1];- } catch (e) {+ return path+ .substring(path.indexOf(':') + 1); // return data after first colon+ } catch (e, s) {+ Logger('_getAccount').severe('Error while parsing account', e, s);return "";}}