Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisreedio authored and github-actions[bot] committed Nov 15, 2024
1 parent 3a59397 commit 0e52645
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions routes/spa.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
use ChrisReedIO\Socialment\Http\Controllers\CsrfCookieController;
use ChrisReedIO\Socialment\Http\Controllers\SocialmentController;
use ChrisReedIO\Socialment\Http\Controllers\SpaAuthController;
use ChrisReedIO\Socialment\Http\Middleware\VerifySpaCsrfToken;
use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse;
use Illuminate\Cookie\Middleware\EncryptCookies;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken;
use Illuminate\Routing\Middleware\SubstituteBindings;
use Illuminate\Session\Middleware\StartSession;
use Illuminate\Support\Facades\Route;
use Illuminate\View\Middleware\ShareErrorsFromSession;

// Custom SPA specific route for getting a CSRF cookie
Route::get('sanctum/csrf-cookie', [CsrfCookieController::class, 'show'])->name('csrf-cookie');
Expand All @@ -21,7 +14,7 @@
->name('redirect');
// Authenticated Routes
Route::middleware(['auth:sanctum'])->group(function () {
// Route::middleware(['auth'])->group(function () {
// Route::middleware(['auth'])->group(function () {
Route::post('logout', [SpaAuthController::class, 'logout'])->name('logout');
Route::get('me', [SpaAuthController::class, 'me'])->name('me');
});
Expand Down

0 comments on commit 0e52645

Please sign in to comment.