Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix inconsitent state (#446)

Neeraj Guptaf6f8b1ca3ddd
diff --git a/lib/ui/account/login_page.dart b/lib/ui/account/login_page.dart
index b2cfce7458..bfa50b8c2a 100644
--- a/lib/ui/account/login_page.dart
+++ b/lib/ui/account/login_page.dart
@@ -62,6 +62,7 @@ class _LoginPageState extends State<LoginPage> {
buttonText: context.l10n.logInLabel,
onPressedFunction: () async {
UserService.instance.setEmail(_email!);
+ Configuration.instance.resetVolatilePassword();
SrpAttributes? attr;
bool isEmailVerificationEnabled = true;
try {
@@ -176,31 +177,33 @@ class _LoginPageState extends State<LoginPage> {
.copyWith(fontSize: 12),
tags: {
'u-terms': StyledTextActionTag(
- (String? text, Map<String?, String?> attrs) => Navigator.of(context).push(
- MaterialPageRoute(
- builder: (BuildContext context) {
- return WebPage(
- context.l10n.termsOfServicesTitle,
- "https://ente.io/terms",
- );
- },
- ),
+ (String? text, Map<String?, String?> attrs) =>
+ Navigator.of(context).push(
+ MaterialPageRoute(
+ builder: (BuildContext context) {
+ return WebPage(
+ context.l10n.termsOfServicesTitle,
+ "https://ente.io/terms",
+ );
+ },
),
+ ),
style: const TextStyle(
decoration: TextDecoration.underline,
),
),
'u-policy': StyledTextActionTag(
- (String? text, Map<String?, String?> attrs) => Navigator.of(context).push(
- MaterialPageRoute(
- builder: (BuildContext context) {
- return WebPage(
- context.l10n.privacyPolicyTitle,
- "https://ente.io/privacy",
- );
- },
- ),
+ (String? text, Map<String?, String?> attrs) =>
+ Navigator.of(context).push(
+ MaterialPageRoute(
+ builder: (BuildContext context) {
+ return WebPage(
+ context.l10n.privacyPolicyTitle,
+ "https://ente.io/privacy",
+ );
+ },
),
+ ),
style: const TextStyle(
decoration: TextDecoration.underline,
),
diff --git a/pubspec.yaml b/pubspec.yaml
index cc7adfee2b..c86f1b0b35 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: ente_auth
description: ente two-factor authenticator
-version: 2.0.33+233
+version: 2.0.34+234
publish_to: none
environment: