mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Revert "[AdminBundle] Hide Impersonate button when user shop account is locked"
This commit is contained in:
parent
f43a51e664
commit
618477f99f
1 changed files with 1 additions and 1 deletions
|
|
@ -11,8 +11,8 @@
|
|||
<i class="{{ user.verified ? 'green checkmark' : 'red remove' }} icon"></i>
|
||||
{{ 'sylius.ui.email_verified'|trans }}
|
||||
</div>
|
||||
{% if is_shop_enabled() and user.isAccountNonLocked and user.enabled %}
|
||||
<br />
|
||||
{% if is_shop_enabled() %}
|
||||
{{ buttons.default(path('sylius_admin_impersonate_user', {'username': user.emailCanonical}), 'sylius.ui.impersonate', 'impersonate', 'unhide', 'blue') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue