[*] FO : Register process enhancement

This commit is contained in:
vChabot
2011-11-10 10:56:14 +00:00
parent 95cde12b84
commit 0a4cb9321a
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