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

Commit

Permalink
add username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
aldria committed Nov 21, 2017
1 parent 0c5ac22 commit 19d7546
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kdyby/ElasticSearch/DI/SearchExtension.php
Original file line number Diff line number Diff line change
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 19d7546

Please sign in to comment.