CSRF Field

Include a hidden CSRF token field to validate the request

<form method="POST" action="/profile">
    @csrf

    ...
</form>

See: CSRF Protection

Comments