Browse Source

fixed for utils update

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
4926676e8d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/Auth/Business/LuticateMiddleware.php

+ 2
- 1
src/Auth/Business/LuticateMiddleware.php View File

@@ -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) {

Loading…
Cancel
Save