Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
8f8c9113
Commit
8f8c9113
authored
May 20, 2016
by
Borut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Few documentation fixes
parent
42bda7b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
doc/providers/csrf.rst
doc/providers/csrf.rst
+0
-2
doc/providers/twig.rst
doc/providers/twig.rst
+1
-2
No files found.
doc/providers/csrf.rst
View file @
8f8c9113
...
...
@@ -47,8 +47,6 @@ You can also use the CSRF protection even without using the Symfony Form
component. If, for example, you're doing a DELETE action, you can check the
CSRF token::
.. code-block:: php
use Symfony\Component\Security\Csrf\CsrfToken;
$app['csrf.token_manager']->isTokenValid(new CsrfToken('token_id', 'TOKEN'));
doc/providers/twig.rst
View file @
8f8c9113
...
...
@@ -110,8 +110,7 @@ Security Support
If you are using the ``SecurityServiceProvider``, you will have access to the
``is_granted()`` function in templates. You can find more information in the
`Symfony Security documentation
<http://symfony.com/doc/current/book/security.html#access-control-in-templates>`
_.
<http://symfony.com/doc/current/book/security.html#access-control-in-templates>`_.
Global Variable
~~~~~~~~~~~~~~~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment