[*] FO : Register process enhancement

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10029 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-11-10 10:56:14 +00:00
parent 568327849c
commit 669aed08c6
8 changed files with 55 additions and 20 deletions
+7
View File
@@ -103,6 +103,13 @@ class FrontControllerCore extends Controller
$this->display_footer = false;
}
// if account created with the 2 steps register process, remove 'accoun_created' from cookie
if (isset($this->context->cookie->account_created))
{
$this->context->smarty->assign('account_created', 1);
unset($this->context->cookie->account_created);
}
ob_start();
// Switch language if needed and init cookie language