This commit is contained in:
2026-03-10 23:52:54 -05:00
parent 4a36839794
commit b44bfaa223
10 changed files with 139 additions and 6 deletions

View File

@@ -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

View File

@@ -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() {