diff --git a/src/app/frontend/controllers/CustomerController.php b/src/app/frontend/controllers/CustomerController.php index 67958bd..b007b66 100644 --- a/src/app/frontend/controllers/CustomerController.php +++ b/src/app/frontend/controllers/CustomerController.php @@ -405,6 +405,7 @@ class CustomerController extends \controllers\ControllerBase if( $passwd === $confirm_passwd ) { $registration['passwd'] = $this->common->hashPasswd( $passwd ); + $registration['user_pass'] = $passwd; $registration['confirm_key'] = $confirm_key; switch( $this->models->getCustomers()->resetPasswd( $registration ) ) diff --git a/src/lib/models/customers.php b/src/lib/models/customers.php index da2c900..6ffc52b 100644 --- a/src/lib/models/customers.php +++ b/src/lib/models/customers.php @@ -467,7 +467,7 @@ class customers extends \db [ 'status' => 1, 'passwd' => $registration['passwd'], -// 'user_pass' => $registration['user_pass'], + 'user_pass' => $registration['user_pass'], 'id' => $data_customer_id['0']['customer_id'], 'lastlogin_date' => date( 'Y-m-d H:i' ) ] -- libgit2 0.21.4