<?php
namespace App\Providers;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Foundation\Http\Middleware\ValidateCsrfToken;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
// here we can use any value from env() or config()
ValidateCsrfToken::except('*');
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)