Updates
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use Lang;
|
||||
|
||||
/**
|
||||
* CheckRoleAgent.
|
||||
@@ -26,6 +25,6 @@ class CheckRoleAgent
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
return redirect('dashboard')->with('fails', Lang::get('lang.not-autherised'));
|
||||
return redirect('dashboard')->with('fails', 'You are not Autherised');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user