Commit 7838d9745d9579be2af96b99b5d35e781f60ddfb

Authored by Administrator
1 parent b79811e6

add local config

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/app/frontend/controllers/CustomerController.php
... ... @@ -414,7 +414,10 @@ class CustomerController extends \controllers\ControllerBase
414 414 // OK
415 415 // redirect
416 416 $this->flash->success($this->languages->getTranslation()->_("successfully_edited_your_password"));
417   - return $this->response->redirect([ 'for' => 'cabinet', 'language' => $this->lang_name ]);
  417 + if($this->session->get('special_users_id') != null) {
  418 + return $this->response->redirect(['for' => 'personal_data', 'language' => $this->lang_name]);
  419 + }
  420 + return $this->response->redirect(['for' => 'cabinet', 'language' => $this->lang_name]);
418 421 break;
419 422  
420 423 case 0:
... ...