Skip to content

Commit 3ea1d1a

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Fix link to isCsrfTokenValid() for 5.3+
2 parents fddc574 + 9748dce commit 3ea1d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/csrf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ generate a CSRF token in the template and store it as a hidden form field:
150150
</form>
151151

152152
Then, get the value of the CSRF token in the controller action and use the
153-
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerTrait::isCsrfTokenValid`
153+
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController::isCsrfTokenValid`
154154
method to check its validity::
155155

156156
use Symfony\Component\HttpFoundation\Request;

0 commit comments

Comments
 (0)