mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-31 11:17:33 +02:00
Finally set a value to the API column
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
######1.10
|
######1.10
|
||||||
|
|
||||||
* Remove deprecated API methods from the last version
|
* Remove deprecated API methods from the last version
|
||||||
|
* Finally set a value to the API column
|
||||||
|
|
||||||
######1.9
|
######1.9
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ public abstract class JoinManagement<T, S extends LoginSource> {
|
|||||||
SharedConfig config = core.getConfig();
|
SharedConfig config = core.getConfig();
|
||||||
|
|
||||||
String ip = source.getAddress().getAddress().getHostAddress();
|
String ip = source.getAddress().getAddress().getHostAddress();
|
||||||
|
profile.setLastIp(ip);
|
||||||
try {
|
try {
|
||||||
if (profile.getUserId() == -1) {
|
if (profile.getUserId() == -1) {
|
||||||
if (core.getPendingLogins().remove(ip + username) != null && config.get("secondAttemptCracked", false)) {
|
if (core.getPendingLogins().remove(ip + username) != null && config.get("secondAttemptCracked", false)) {
|
||||||
|
Reference in New Issue
Block a user