Beispiel #1
0
 public function changePassword($data)
 {
     $user_main = $this->getServiceLocator()->get('dao_user_user_manager');
     $data = (array) $data;
     $user_main_data['password'] = Helper::bCryptPassword($data['password']);
     $user_main->save($user_main_data, ['id' => $data['userId']]);
 }