From c11f1660ca8354de2bc8db48ad73c47db8a457f6 Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 1 Jul 2019 16:11:24 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB?= =?UTF-8?q?=D1=8F=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../launchserver/auth/provider/HibernateAuthProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/provider/HibernateAuthProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/provider/HibernateAuthProvider.java index f29ffc63..64c817b4 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/provider/HibernateAuthProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/provider/HibernateAuthProvider.java @@ -15,7 +15,7 @@ public AuthProviderResult auth(String login, String password, String ip) throws if(user == null && autoReg) { AuthHookManager.RegContext context = new AuthHookManager.RegContext(login, password, ip, false); - if(AuthHookManager.registraion.hook(context)) + if(srv.authHookManager.registraion.hook(context)) { user = srv.config.dao.userService.registerNewUser(login, password); }