testing
This commit is contained in:
@@ -17,6 +17,7 @@ use App\Models\Esi\EsiScope;
|
||||
use App\Models\Esi\EsiToken;
|
||||
use App\Models\Auth\UserPermission;
|
||||
use App\Models\Auth\UserRole;
|
||||
use App\Models\Auth\User;
|
||||
|
||||
class DashboardController extends Controller
|
||||
{
|
||||
@@ -26,8 +27,8 @@ class DashboardController extends Controller
|
||||
}
|
||||
|
||||
public function displayDashboard() {
|
||||
$currentUser = User::where(['character_id' => auth()->user()->character_id]);
|
||||
|
||||
|
||||
return view('dashboard.dashboard');
|
||||
return view('dashboard.dashboard')->with(['characterId' => $currentUser->character_id]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,9 +20,7 @@
|
||||
<p>Privileges version: <strong>{{ auth()->user()->privileges_version }}</strong></p>
|
||||
<p>JWT issued at: <strong>{{ optional(auth()->user()->user_jwt_issued_at)?->toDateTimeString() }}</strong></p>
|
||||
<p>JWT expires at: <strong>{{ optional(auth()->user()->user_jwt_expires_at)?->toDateTimeString() }}</strong></p>
|
||||
@if(session()->has('Token'))
|
||||
<p>Token: {{ session('Token') }}</p>
|
||||
@endif
|
||||
<p>Auth ID: {{ $characterId }}</p>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user