|
@@ -12,6 +12,7 @@ use Closure;
|
12
|
12
|
use Illuminate\Http\Request;
|
13
|
13
|
use Luticate\Auth\DBO\LuticatePermissions;
|
14
|
14
|
use Luticate\Auth\DBO\LuticateUsersDbo;
|
|
15
|
+use Luticate\Utils\LuBusiness;
|
15
|
16
|
use Luticate\Utils\LuController;
|
16
|
17
|
|
17
|
18
|
class LuticateMiddleware
|
|
@@ -50,7 +51,7 @@ class LuticateMiddleware
|
50
|
51
|
}
|
51
|
52
|
|
52
|
53
|
LuticateBusiness::setCurrentUser($user);
|
53
|
|
- LuController::$parameters["user"] = $user;
|
|
54
|
+ LuBusiness::$parameters["user"] = $user;
|
54
|
55
|
|
55
|
56
|
$permissions[] = LuticatePermissions::USER_LOGIN;
|
56
|
57
|
foreach ($permissions as $permission) {
|