Commit dc8abdd8 authored by Igor Wiedler's avatar Igor Wiedler

Add note about defining the login route, closes #447

parent dd39fd36
...@@ -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