app: Fix the login button not re-enabling after failed login

This commit is contained in:
Valentin Tolmer authored and nitnelave committed 2021-10-28 18:20:01 +02:00
1 parent 63f4bf95d2
commit 026a2f7eb0
1 file changed
+1
+1
View File
@@ -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,