Fix minor bug in auth form (#1806)

This commit is contained in:
AJ Ferguson 2021-01-05 09:45:01 -09:00 committed by GitHub
parent 29e47cf636
commit b6389317f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,12 +198,12 @@ public class LoginEncryptionUtils {
String password = response.getInputResponses().get(2); String password = response.getInputResponses().get(2);
session.authenticate(email, password); session.authenticate(email, password);
} else {
showLoginDetailsWindow(session);
}
// Clear windows so authentication data isn't accidentally cached // Clear windows so authentication data isn't accidentally cached
windowCache.getWindows().clear(); windowCache.getWindows().clear();
} else {
showLoginDetailsWindow(session);
}
} else if (formId == AUTH_FORM_ID && window instanceof SimpleFormWindow) { } else if (formId == AUTH_FORM_ID && window instanceof SimpleFormWindow) {
SimpleFormResponse response = (SimpleFormResponse) window.getResponse(); SimpleFormResponse response = (SimpleFormResponse) window.getResponse();
if (response != null) { if (response != null) {