mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add getAuthenticator usage
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser() replace twig app['authentication'].getUser() with corresponding method
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
{% if usr.isTemplate() %}
|
||||
<img title="{{ 'This is a template' | trans }}" src="/skins/icons/template.png"/>
|
||||
{% else %}
|
||||
{% if app['acl'].get(usr).is_phantom() %}
|
||||
{% if app.getAclForUser(usr).is_phantom() %}
|
||||
<img title="{{ 'This user has no rights' | trans }}" src="/skins/admin/ghost.png"/>
|
||||
{% endif %}
|
||||
{{usr.getId()}}
|
||||
|
Reference in New Issue
Block a user