Missing security (Customer should be logged in to access these pages)

This commit is contained in:
touffies
2013-11-05 10:23:08 +01:00
parent 45e84f22e9
commit fc49ff2e0a
8 changed files with 30 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{/block}
@@ -7,7 +8,7 @@
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}]
['title' => {intl l="Account"}, 'url'=>{url path="/account"}]
]}
{/block}