You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: security/csrf.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -288,13 +288,13 @@ object evaluated to the id::
288
288
// ... do something, like deleting an object
289
289
}
290
290
291
-
You add ``methods`` to the attribute to specify the HTTP methods that are allowed for
292
-
the toekn validation, :class:`Symfony\\Component\\Security\\Http\\Attribute\\IsCsrfTokenValid` is ignored for other methods. By default, the attribute allows all methods.:
291
+
You can use the ``methods`` parameter to the attribute to specify the HTTP methods that are allowed for
292
+
the token validation, :class:`Symfony\\Component\\Security\\Http\\Attribute\\IsCsrfTokenValid` is ignored for other methods. By default, the attribute allows all methods.:
0 commit comments