modified: SRC/app/Http/Middleware/RedirectIfNotAdmin.php
This commit is contained in:
parent
09ab8c15ee
commit
06114bba37
@ -4,6 +4,7 @@ use Closure;
|
|||||||
use Illuminate\Contracts\Auth\Guard;
|
use Illuminate\Contracts\Auth\Guard;
|
||||||
use Illuminate\Http\RedirectResponse;
|
use Illuminate\Http\RedirectResponse;
|
||||||
use Auth;
|
use Auth;
|
||||||
|
use Session;
|
||||||
|
|
||||||
|
|
||||||
class RedirectIfNotAdmin {
|
class RedirectIfNotAdmin {
|
||||||
|
Reference in New Issue
Block a user