From 447866d001d9eaa52046b2f6deacd20baa4d3f4d Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 8 Nov 2020 23:25:15 +0700 Subject: [PATCH] [FIX] daoObject null --- .../gravit/launchserver/auth/handler/HibernateAuthHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/handler/HibernateAuthHandler.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/handler/HibernateAuthHandler.java index 62cf5fd6..0491e7c6 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/handler/HibernateAuthHandler.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/handler/HibernateAuthHandler.java @@ -1,10 +1,11 @@ package pro.gravit.launchserver.auth.handler; +import pro.gravit.launchserver.auth.RequiredDAO; import pro.gravit.launchserver.dao.User; import java.util.UUID; -public class HibernateAuthHandler extends CachedAuthHandler { +public class HibernateAuthHandler extends CachedAuthHandler implements RequiredDAO { @Override protected Entry fetchEntry(String username) { User user = srv.config.dao.userDAO.findByUsername(username);