<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;

class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array<int, string>
     */
    protected $except = [
        'account/register', // Masukkan URI atau Path-nya, BUKAN nama route
        // 'api/*' // (Opsional) Gunakan tanda bintang untuk mem-bypass semua route yang berawalan api/
        'account/login',
    ];
}