forked from GeyserMC/Geyser
		
	Fix minor bug in auth form (#1806)
This commit is contained in:
		
							parent
							
								
									29e47cf636
								
							
						
					
					
						commit
						b6389317f0
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -198,12 +198,12 @@ public class LoginEncryptionUtils {
 | 
			
		|||
                        String password = response.getInputResponses().get(2);
 | 
			
		||||
 | 
			
		||||
                        session.authenticate(email, password);
 | 
			
		||||
 | 
			
		||||
                        // Clear windows so authentication data isn't accidentally cached
 | 
			
		||||
                        windowCache.getWindows().clear();
 | 
			
		||||
                    } else {
 | 
			
		||||
                        showLoginDetailsWindow(session);
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // Clear windows so authentication data isn't accidentally cached
 | 
			
		||||
                    windowCache.getWindows().clear();
 | 
			
		||||
                } else if (formId == AUTH_FORM_ID && window instanceof SimpleFormWindow) {
 | 
			
		||||
                    SimpleFormResponse response = (SimpleFormResponse) window.getResponse();
 | 
			
		||||
                    if (response != null) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue