Skip to content

Commit

Permalink
Merge pull request #7873 from yosus/patch-11
Browse files Browse the repository at this point in the history
Update csrf.rst
  • Loading branch information
ADmad authored Jun 18, 2024
2 parents ad70c75 + f70902e commit 59fe034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions en/security/csrf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ apply CSRF to specific groups of routes::

// in src/Application.php
use Cake\Http\Middleware\CsrfProtectionMiddleware;
use Cake\Routing\RouteBuilder;

public function routes(RouteBuilder $routes) : void
{
Expand Down

0 comments on commit 59fe034

Please sign in to comment.