package com.lenis0012.bukkit.loginsecurity.session.action;

import com.lenis0012.bukkit.loginsecurity.session.*;

public class LogoutAction extends AuthAction {

    public <T> LogoutAction(AuthService<T> service, T serviceProvider) {
        super(AuthActionType.LOGOUT, service, serviceProvider);
    }

    @Override
    public AuthMode run(PlayerSession session, ActionResponse response) {
        return AuthMode.UNAUTHENTICATED;
    }
}

@@ -105,16 +105,73 @@
 ssion.*;
+%0Aimport com.lenis0012.bukkit.loginsecurity.util.MetaData;
 %0A%0Apublic
@@ -440,24 +440,239 @@
 response) %7B%0A
+        if(session.getPlayer() != null) %7B%0A            // Reset login time to prevent immediately getting kicked%0A            MetaData.set(session.getPlayer(), %22ls_login_time%22, System.currentTimeMillis());%0A        %7D%0A%0A
         retu

Fix login timeout bug