[FIX] daoObject null

This commit is contained in:
Gravit 2020-11-08 23:25:15 +07:00
parent 86d3b3365d
commit 447866d001
No known key found for this signature in database
GPG key ID: 98A079490768CCE5

View file

@ -1,10 +1,11 @@
package pro.gravit.launchserver.auth.handler; package pro.gravit.launchserver.auth.handler;
import pro.gravit.launchserver.auth.RequiredDAO;
import pro.gravit.launchserver.dao.User; import pro.gravit.launchserver.dao.User;
import java.util.UUID; import java.util.UUID;
public class HibernateAuthHandler extends CachedAuthHandler { public class HibernateAuthHandler extends CachedAuthHandler implements RequiredDAO {
@Override @Override
protected Entry fetchEntry(String username) { protected Entry fetchEntry(String username) {
User user = srv.config.dao.userDAO.findByUsername(username); User user = srv.config.dao.userDAO.findByUsername(username);