Commit b79811e68736ab04f630e315b3d703fa4e3d6708

Authored by Administrator
1 parent 94ca4153

add local config

src/app/frontend/controllers/CustomerController.php
... ... @@ -405,6 +405,7 @@ class CustomerController extends \controllers\ControllerBase
405 405 if( $passwd === $confirm_passwd )
406 406 {
407 407 $registration['passwd'] = $this->common->hashPasswd( $passwd );
  408 + $registration['user_pass'] = $passwd;
408 409 $registration['confirm_key'] = $confirm_key;
409 410  
410 411 switch( $this->models->getCustomers()->resetPasswd( $registration ) )
... ...
src/lib/models/customers.php
... ... @@ -467,7 +467,7 @@ class customers extends \db
467 467 [
468 468 'status' => 1,
469 469 'passwd' => $registration['passwd'],
470   -// 'user_pass' => $registration['user_pass'],
  470 + 'user_pass' => $registration['user_pass'],
471 471 'id' => $data_customer_id['0']['customer_id'],
472 472 'lastlogin_date' => date( 'Y-m-d H:i' )
473 473 ]
... ...