testing
This commit is contained in:
@@ -119,6 +119,14 @@ class EveLoginController extends Controller
|
||||
]
|
||||
);
|
||||
|
||||
UserRole::updateOrCreate(
|
||||
['character_id' => $charcter_id],
|
||||
[
|
||||
'role' => 'Guest',
|
||||
'rank' => 0,
|
||||
]
|
||||
);
|
||||
|
||||
$privilege->privilegesChanged($user);
|
||||
|
||||
//Send the object back to the calling function
|
||||
|
||||
@@ -21,8 +21,8 @@ use App\Models\Auth\UserRole;
|
||||
class DashboardController extends Controller
|
||||
{
|
||||
public function __construct() {
|
||||
$this->middleware('auth');
|
||||
$this->middleware('role:User');
|
||||
//$this->middleware('auth');
|
||||
//$this->middleware('role:User');
|
||||
}
|
||||
|
||||
public function displayDashboard() {
|
||||
|
||||
Reference in New Issue
Block a user