diff --git a/src/app/frontend/controllers/CustomerController.php b/src/app/frontend/controllers/CustomerController.php index b6d99e7..6014382 100644 --- a/src/app/frontend/controllers/CustomerController.php +++ b/src/app/frontend/controllers/CustomerController.php @@ -30,10 +30,8 @@ class CustomerController extends \controllers\ControllerBase // OK // redirect if($this->session->get('special_users_id') != null) { - die('here1'); return $this->response->redirect(['for' => 'personal_data', 'language' => $this->lang_name]); } - die('here2'); return $this->response->redirect(['for' => 'cabinet', 'language' => $this->lang_name]); break; @@ -409,7 +407,7 @@ class CustomerController extends \controllers\ControllerBase $registration['passwd'] = $this->common->hashPasswd( $passwd ); $registration['user_pass'] = $passwd; $registration['confirm_key'] = $confirm_key; - + die('here'); switch( $this->models->getCustomers()->resetPasswd( $registration ) ) { case 1: -- libgit2 0.21.4