@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Sco\Admin\Models; |
| 4 | 4 | |
| 5 | -use Zizaco\Entrust\EntrustRole; |
|
| 6 | -use Illuminate\Cache\TaggableStore; |
|
| 7 | 5 | use Cache; |
| 8 | 6 | use Config; |
| 7 | +use Illuminate\Cache\TaggableStore; |
|
| 8 | +use Zizaco\Entrust\EntrustRole; |
|
| 9 | 9 | |
| 10 | 10 | class Role extends EntrustRole |
| 11 | 11 | { |
@@ -3,10 +3,10 @@ |
||
| 3 | 3 | namespace Sco\Admin\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | 5 | use Auth; |
| 6 | +use Illuminate\Foundation\Auth\AuthenticatesUsers; |
|
| 6 | 7 | use Illuminate\Foundation\Validation\ValidatesRequests; |
| 7 | 8 | use Illuminate\Http\Request; |
| 8 | 9 | use Illuminate\Routing\Controller; |
| 9 | -use Illuminate\Foundation\Auth\AuthenticatesUsers; |
|
| 10 | 10 | |
| 11 | 11 | class LoginController extends Controller |
| 12 | 12 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Closure; |
| 6 | 6 | use Route; |
| 7 | -use Auth; |
|
| 8 | 7 | use Sco\Admin\Models\Permission; |
| 9 | 8 | |
| 10 | 9 | class AdminMenu |