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
55
66Symfony code is released under `the MIT license `_:
77
8- Copyright (c) 2004-2020 Fabien Potencier
8+ Copyright (c) 2004-2021 Fabien Potencier
99
1010Permission is hereby granted, free of charge, to any person obtaining a copy
1111of 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:
150150 </form>
151151
152152Then, 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::
155155
156156 use Symfony\Component\HttpFoundation\Request;
157157 use Symfony\Component\HttpFoundation\Response;
You can’t perform that action at this time.
0 commit comments