mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] daoObject null
This commit is contained in:
parent
86d3b3365d
commit
447866d001
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue