Commit 5f6aecd8 authored by Fabien Potencier's avatar Fabien Potencier

merged branch igorw/security-login-route (PR #527)

This PR was merged into the master branch.

Commits
-------

dc8abdd8 Add note about defining the login route, closes #447

Discussion
----------

Add note about defining the login route, closes #447
parents dd39fd36 dc8abdd8
...@@ -307,6 +307,8 @@ instance) with the special ``IS_AUTHENTICATED_FULLY`` role: ...@@ -307,6 +307,8 @@ instance) with the special ``IS_AUTHENTICATED_FULLY`` role:
<a href="{{ path('login') }}">Login</a> <a href="{{ path('login') }}">Login</a>
{% endif %} {% endif %}
Of course you will need to define a ``login`` route for this to work.
.. tip:: .. tip::
Don't use the ``getRoles()`` method to check user roles. Don't use the ``getRoles()`` method to check user roles.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment