Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #19 from milandusek/master
Browse files Browse the repository at this point in the history
add username and password to config
  • Loading branch information
dakorpar committed Apr 12, 2018
2 parents 0c5ac22 + 19d7546 commit 78e07b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kdyby/ElasticSearch/DI/SearchExtension.php
Expand Up @@ -51,6 +51,8 @@ class SearchExtension extends Nette\DI\CompilerExtension
'transport' => Elastica\Connection::DEFAULT_TRANSPORT,
'persistent' => TRUE,
'timeout' => Elastica\Connection::TIMEOUT,
'username' => NULL,
'password' => NULL,
'config' => [
'curl' => [], # curl options
'headers' => [], # additional curl headers
Expand Down

0 comments on commit 78e07b2

Please sign in to comment.