From 026a2f7eb0932ba0ba3aae66950a43635b083595 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Fri, 29 Oct 2021 00:13:34 +0900 Subject: [PATCH] app: Fix the login button not re-enabling after failed login --- app/src/components/login.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/components/login.rs b/app/src/components/login.rs index f66349a..0bbfe80 100644 --- a/app/src/components/login.rs +++ b/app/src/components/login.rs @@ -78,6 +78,7 @@ impl LoginForm { // simple one to the user. ConsoleService::error(&format!("Invalid username or password: {}", e)); self.error = Some(anyhow!("Invalid username or password")); + self.task = None; return Ok(true); } Ok(l) => l,