Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Fix minor bug in auth form (#1806)
Dieser Commit ist enthalten in:
Ursprung
29e47cf636
Commit
b6389317f0
@ -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);
|
||||||
|
|
||||||
|
// Clear windows so authentication data isn't accidentally cached
|
||||||
|
windowCache.getWindows().clear();
|
||||||
} else {
|
} else {
|
||||||
showLoginDetailsWindow(session);
|
showLoginDetailsWindow(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear windows so authentication data isn't accidentally cached
|
|
||||||
windowCache.getWindows().clear();
|
|
||||||
} 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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren