mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
app: Fix the login button not re-enabling after failed login
This commit is contained in:
parent
63f4bf95d2
commit
026a2f7eb0
@ -78,6 +78,7 @@ impl LoginForm {
|
|||||||
// simple one to the user.
|
// simple one to the user.
|
||||||
ConsoleService::error(&format!("Invalid username or password: {}", e));
|
ConsoleService::error(&format!("Invalid username or password: {}", e));
|
||||||
self.error = Some(anyhow!("Invalid username or password"));
|
self.error = Some(anyhow!("Invalid username or password"));
|
||||||
|
self.task = None;
|
||||||
return Ok(true);
|
return Ok(true);
|
||||||
}
|
}
|
||||||
Ok(l) => l,
|
Ok(l) => l,
|
||||||
|
Loading…
Reference in New Issue
Block a user