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,14 +1,18 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}
{block name="body-class"}page-account-update{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [['title' => {intl l="Account"}, 'url'=>{url path="/account"}]]}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Update Profile"}, 'url'=>{url path="/account/update"}]
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Update Profile"}, 'url'=>{url path="/account/update"}]
]}
{/block}