Ejemplo n.º 1
0
 /**
  * @param $username
  * @param $password
  *
  * @return bool
  * @throws Exception
  */
 protected function _saveCoostoUser($username, $password)
 {
     return $this->MediaPlatformUser->save(['media_platform_id' => MediaPlatform::COOSTO, 'username' => $username]) && $this->_UserCredentials->saveEncrypted($this->MediaPlatformUser->getLastInsertID(), $username, $password);
 }