mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Disable verbose verification output
NameChange fix is resolved
This commit is contained in:
@ -140,7 +140,7 @@ public class VerifyResponseTask implements Runnable {
|
|||||||
Optional<Verification> response = resolver.hasJoined(requestedUsername, serverId, address);
|
Optional<Verification> response = resolver.hasJoined(requestedUsername, serverId, address);
|
||||||
if (response.isPresent()) {
|
if (response.isPresent()) {
|
||||||
Verification verification = response.get();
|
Verification verification = response.get();
|
||||||
plugin.getLog().info("Profile {} has a verified premium account: {}", requestedUsername, verification);
|
plugin.getLog().info("Profile {} has a verified premium account", requestedUsername);
|
||||||
String realUsername = verification.getName();
|
String realUsername = verification.getName();
|
||||||
if (realUsername == null) {
|
if (realUsername == null) {
|
||||||
disconnect("invalid-session", true, "Username field null for {}", requestedUsername);
|
disconnect("invalid-session", true, "Username field null for {}", requestedUsername);
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zaxxer</groupId>
|
<groupId>com.zaxxer</groupId>
|
||||||
<artifactId>HikariCP</artifactId>
|
<artifactId>HikariCP</artifactId>
|
||||||
<version>4.0.1</version>
|
<version>4.0.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--Logging framework implements slf4j which is required by hikari-->
|
<!--Logging framework implements slf4j which is required by hikari-->
|
||||||
|
@ -25,14 +25,14 @@
|
|||||||
*/
|
*/
|
||||||
package com.github.games647.fastlogin.core.hooks;
|
package com.github.games647.fastlogin.core.hooks;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.Optional;
|
|
||||||
|
|
||||||
import com.github.games647.craftapi.model.Profile;
|
import com.github.games647.craftapi.model.Profile;
|
||||||
import com.github.games647.craftapi.resolver.RateLimitException;
|
import com.github.games647.craftapi.resolver.RateLimitException;
|
||||||
import com.github.games647.fastlogin.core.shared.FastLoginCore;
|
import com.github.games647.fastlogin.core.shared.FastLoginCore;
|
||||||
import com.github.games647.fastlogin.core.shared.LoginSource;
|
import com.github.games647.fastlogin.core.shared.LoginSource;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
import org.geysermc.floodgate.api.FloodgateApi;
|
import org.geysermc.floodgate.api.FloodgateApi;
|
||||||
import org.geysermc.floodgate.api.player.FloodgatePlayer;
|
import org.geysermc.floodgate.api.player.FloodgatePlayer;
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ public class FloodgateHook<P extends C, C, S extends LoginSource> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user