Commit fcf77b61cf98be2ea2ba947a0efc87486294dab9
1 parent
49c3ffb9
add local config
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
src/app/frontend/controllers/CustomerController.php
| ... | ... | @@ -30,10 +30,8 @@ class CustomerController extends \controllers\ControllerBase |
| 30 | 30 | // OK |
| 31 | 31 | // redirect |
| 32 | 32 | if($this->session->get('special_users_id') != null) { |
| 33 | - die('here1'); | |
| 34 | 33 | return $this->response->redirect(['for' => 'personal_data', 'language' => $this->lang_name]); |
| 35 | 34 | } |
| 36 | - die('here2'); | |
| 37 | 35 | return $this->response->redirect(['for' => 'cabinet', 'language' => $this->lang_name]); |
| 38 | 36 | |
| 39 | 37 | break; |
| ... | ... | @@ -409,7 +407,7 @@ class CustomerController extends \controllers\ControllerBase |
| 409 | 407 | $registration['passwd'] = $this->common->hashPasswd( $passwd ); |
| 410 | 408 | $registration['user_pass'] = $passwd; |
| 411 | 409 | $registration['confirm_key'] = $confirm_key; |
| 412 | - | |
| 410 | + die('here'); | |
| 413 | 411 | switch( $this->models->getCustomers()->resetPasswd( $registration ) ) |
| 414 | 412 | { |
| 415 | 413 | case 1: | ... | ... |