Browse Source

fixed user cast

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
cb764b4d73
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Auth/DBO/LuticateUsersLightDbo.php

+ 1
- 1
src/Auth/DBO/LuticateUsersLightDbo.php View File

@@ -17,7 +17,7 @@ class LuticateUsersLightDbo extends LuticateUsersDbo
17 17
      */
18 18
     public static function fromUserDbo($user)
19 19
     {
20
-        return $user->castAs('Luticate\Auth\DBO\LuticateUsersLoginDbo');
20
+        return $user->castAs('Luticate\Auth\DBO\LuticateUsersLightDbo');
21 21
     }
22 22
 
23 23
     public function jsonSerialize()

Loading…
Cancel
Save