Skip to content

Commit

Permalink
fix: Api token manager
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Aug 9, 2024
1 parent 2e6ca9c commit c1c00e6
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 517 deletions.
262 changes: 0 additions & 262 deletions app/Livewire/Profile/APITokenManager.php

This file was deleted.

10 changes: 0 additions & 10 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use App\Models\User;
use App\Services\GreetingService;
use App\Services\SanctumAbilitiesService;
use Flare;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Gate;
Expand All @@ -25,7 +24,6 @@ public function register(): void
{
$this->registerFlareVersion();
$this->registerGreetingService();
$this->registerSanctumAbilitiesService();
}

/**
Expand Down Expand Up @@ -61,14 +59,6 @@ private function registerGreetingService(): void
$this->app->alias(GreetingService::class, 'Greeting');
}

/**
* Register the SanctumAbilitiesService as a singleton.
*/
private function registerSanctumAbilitiesService(): void
{
$this->app->singleton(SanctumAbilitiesService::class);
}

/**
* Define application authorization gates.
*/
Expand Down
Loading

0 comments on commit c1c00e6

Please sign in to comment.