File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Symfony Code License
5
5
6
6
Symfony code is released under `the MIT license `_:
7
7
8
- Copyright (c) 2004-2020 Fabien Potencier
8
+ Copyright (c) 2004-2021 Fabien Potencier
9
9
10
10
Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ generate a CSRF token in the template and store it as a hidden form field:
150
150
</form>
151
151
152
152
Then, get the value of the CSRF token in the controller action and use the
153
- :method: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController ::isCsrfTokenValid `
154
- to check its validity::
153
+ :method: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait ::isCsrfTokenValid `
154
+ method to check its validity::
155
155
156
156
use Symfony\Component\HttpFoundation\Request;
157
157
use Symfony\Component\HttpFoundation\Response;
You can’t perform that action at this time.
0 commit comments