Skip to content

Commit 64422cb

Browse files
committed
Fixed incorrect namespace for VerifyCsrfToken middleware in nativephp/laravel/routes/api.php
1 parent 36abbb6 commit 64422cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

routes/api.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
use App\Http\Middleware\VerifyCsrfToken;
43
use Illuminate\Support\Facades\Route;
5-
use Native\Laravel\Http\Controllers\CreateSecurityCookieController;
6-
use Native\Laravel\Http\Controllers\DispatchEventFromAppController;
4+
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken;
75
use Native\Laravel\Http\Controllers\NativeAppBootedController;
86
use Native\Laravel\Http\Middleware\PreventRegularBrowserAccess;
7+
use Native\Laravel\Http\Controllers\CreateSecurityCookieController;
8+
use Native\Laravel\Http\Controllers\DispatchEventFromAppController;
99

1010
Route::group(['middleware' => PreventRegularBrowserAccess::class], function () {
1111
Route::post('_native/api/booted', NativeAppBootedController::class);

0 commit comments

Comments
 (0)