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
							
								
									00f4af1d3e
								
							
						
					
					
						commit
						03a3fd07c1
					
				@ -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,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user