From 7ac209b3f8fc210a9bf28c74ae465674a1f9e658 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 12 Jan 2017 12:35:47 +0200 Subject: [PATCH] add local config --- src/app/frontend/controllers/CustomerController.php | 2 +- src/lib/models/customers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/frontend/controllers/CustomerController.php b/src/app/frontend/controllers/CustomerController.php index 6014382..c9d64f8 100644 --- a/src/app/frontend/controllers/CustomerController.php +++ b/src/app/frontend/controllers/CustomerController.php @@ -407,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: diff --git a/src/lib/models/customers.php b/src/lib/models/customers.php index f9fc227..6045082 100644 --- a/src/lib/models/customers.php +++ b/src/lib/models/customers.php @@ -450,7 +450,7 @@ class customers extends \db ], -1 ); - + die('here1'); if( !empty( $data_customer_id ) ) { -- libgit2 0.21.4