From 5f34c4e9ea55b036004f51889cad291ea0c588de Mon Sep 17 00:00:00 2001 From: blackcoder87 Date: Sun, 26 Mar 2017 08:42:58 +0200 Subject: [PATCH] Adjust redirect --- application/modules/user/controllers/Regist.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/modules/user/controllers/Regist.php b/application/modules/user/controllers/Regist.php index 89feb97b5..dca109e54 100644 --- a/application/modules/user/controllers/Regist.php +++ b/application/modules/user/controllers/Regist.php @@ -166,16 +166,16 @@ public function confirmAction() $this->redirect() ->withMessage('accountApproved', 'success') - ->to(['controller' => 'index', 'action' => 'index']); + ->to([]); } else { $this->redirect() ->withMessage('confirmedCodeWrong', 'warning') - ->to(['controller' => 'index', 'action' => 'index']); + ->to([]); } } else { $this->redirect() ->withMessage('incompleteActivationUrl', 'warning') - ->to(['controller' => 'index', 'action' => 'index']); + ->to([]); } } }