Fixed password reset and account activation
This commit is contained in:
parent
2af8a941ff
commit
b9a50f9e14
1 changed files with 4 additions and 4 deletions
|
@ -552,7 +552,7 @@ class UserController
|
||||||
public function activationAction($token)
|
public function activationAction($token)
|
||||||
{
|
{
|
||||||
$this->context->viewName = 'message';
|
$this->context->viewName = 'message';
|
||||||
LayoutHelper::setSubTitle('account activation');
|
CustomAssetViewDecorator::setSubTitle('account activation');
|
||||||
|
|
||||||
$dbToken = TokenModel::findByToken($token);
|
$dbToken = TokenModel::findByToken($token);
|
||||||
TokenModel::checkValidity($dbToken);
|
TokenModel::checkValidity($dbToken);
|
||||||
|
@ -585,7 +585,7 @@ class UserController
|
||||||
public function passwordResetAction($token)
|
public function passwordResetAction($token)
|
||||||
{
|
{
|
||||||
$this->context->viewName = 'message';
|
$this->context->viewName = 'message';
|
||||||
LayoutHelper::setSubTitle('password reset');
|
CustomAssetViewDecorator::setSubTitle('password reset');
|
||||||
|
|
||||||
$dbToken = TokenModel::findByToken($token);
|
$dbToken = TokenModel::findByToken($token);
|
||||||
TokenModel::checkValidity($dbToken);
|
TokenModel::checkValidity($dbToken);
|
||||||
|
@ -619,7 +619,7 @@ class UserController
|
||||||
public function passwordResetProxyAction()
|
public function passwordResetProxyAction()
|
||||||
{
|
{
|
||||||
$this->context->viewName = 'user-select';
|
$this->context->viewName = 'user-select';
|
||||||
LayoutHelper::setSubTitle('password reset');
|
CustomAssetViewDecorator::setSubTitle('password reset');
|
||||||
|
|
||||||
if (InputHelper::get('submit'))
|
if (InputHelper::get('submit'))
|
||||||
{
|
{
|
||||||
|
@ -639,7 +639,7 @@ class UserController
|
||||||
public function activationProxyAction()
|
public function activationProxyAction()
|
||||||
{
|
{
|
||||||
$this->context->viewName = 'user-select';
|
$this->context->viewName = 'user-select';
|
||||||
LayoutHelper::setSubTitle('account activation');
|
CustomAssetViewDecorator::setSubTitle('account activation');
|
||||||
|
|
||||||
if (InputHelper::get('submit'))
|
if (InputHelper::get('submit'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue