From b9a50f9e14f86922e71e2bec15ce4c506d69980d Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 2 Mar 2014 18:47:28 +0100 Subject: [PATCH] Fixed password reset and account activation --- src/Controllers/UserController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Controllers/UserController.php b/src/Controllers/UserController.php index 450c5074..97cd1c96 100644 --- a/src/Controllers/UserController.php +++ b/src/Controllers/UserController.php @@ -552,7 +552,7 @@ class UserController public function activationAction($token) { $this->context->viewName = 'message'; - LayoutHelper::setSubTitle('account activation'); + CustomAssetViewDecorator::setSubTitle('account activation'); $dbToken = TokenModel::findByToken($token); TokenModel::checkValidity($dbToken); @@ -585,7 +585,7 @@ class UserController public function passwordResetAction($token) { $this->context->viewName = 'message'; - LayoutHelper::setSubTitle('password reset'); + CustomAssetViewDecorator::setSubTitle('password reset'); $dbToken = TokenModel::findByToken($token); TokenModel::checkValidity($dbToken); @@ -619,7 +619,7 @@ class UserController public function passwordResetProxyAction() { $this->context->viewName = 'user-select'; - LayoutHelper::setSubTitle('password reset'); + CustomAssetViewDecorator::setSubTitle('password reset'); if (InputHelper::get('submit')) { @@ -639,7 +639,7 @@ class UserController public function activationProxyAction() { $this->context->viewName = 'user-select'; - LayoutHelper::setSubTitle('account activation'); + CustomAssetViewDecorator::setSubTitle('account activation'); if (InputHelper::get('submit')) {