On 15.03.2011, at 21:15, Miha Vrhovnik wrote:
> hi
>
> I'm not using the isGranted in template, but rather:
> {% if app.security.isGranted('IS_AUTHENTICATED_FULLY') %}Pozdravljen,
> <strong>{{ app.security.token.user }}</strong>{% endif %}
>
> The code above is enough isn't it?
you can also use {{ app.user }}
regards,
Lukas Kahwe Smith
[email protected]
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en