changed role names to XXXX instead of ROLE_XXXX
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
{loop type="auth" name="customer_info_block" roles="ROLE_CUSTOMER" context="front"}
|
||||
{loop type="auth" name="customer_info_block" roles="CUSTOMER" context="front"}
|
||||
<p>Your are logged in ! <a href="{viewurl view='index' action='logoutCustomer'}">Logout</a></p>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="admin_info_block" roles="ROLE_ADMIN" context="admin"}
|
||||
{loop type="auth" name="admin_info_block" roles="ADMIN" context="admin"}
|
||||
<p>You are logged as administrator</p>
|
||||
{/loop}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user