diff --git a/core/lib/Thelia/Config/Resources/routing/front.xml b/core/lib/Thelia/Config/Resources/routing/front.xml index 4966ee6b7..217c713cf 100755 --- a/core/lib/Thelia/Config/Resources/routing/front.xml +++ b/core/lib/Thelia/Config/Resources/routing/front.xml @@ -10,6 +10,11 @@ + + Thelia\Controller\Front\CustomerController::createAction + register + + Thelia\Controller\Front\DefaultController::noAction register @@ -36,11 +41,6 @@ account - - Thelia\Controller\Front\CustomerController::createAction - register - - Thelia\Controller\Front\CustomerController::updateAction diff --git a/templates/default/register.html b/templates/default/register.html index 739522a4b..018a4a8d6 100644 --- a/templates/default/register.html +++ b/templates/default/register.html @@ -15,7 +15,7 @@

{intl l="Create New Account"}

{form name="thelia.customer.creation"} -
+ {form_field form=$form field='success_url'} {* the url the user is redirected to on login success *} {/form_field}