diff --git a/src/app/frontend/controllers/CustomerController.php b/src/app/frontend/controllers/CustomerController.php index b007b66..8318c11 100644 --- a/src/app/frontend/controllers/CustomerController.php +++ b/src/app/frontend/controllers/CustomerController.php @@ -414,7 +414,10 @@ class CustomerController extends \controllers\ControllerBase // OK // redirect $this->flash->success($this->languages->getTranslation()->_("successfully_edited_your_password")); - return $this->response->redirect([ 'for' => 'cabinet', 'language' => $this->lang_name ]); + if($this->session->get('special_users_id') != null) { + return $this->response->redirect(['for' => 'personal_data', 'language' => $this->lang_name]); + } + return $this->response->redirect(['for' => 'cabinet', 'language' => $this->lang_name]); break; case 0: -- libgit2 0.21.4