@@ 132-134 (lines=3) @@ | ||
129 | $cluster = Cassandra::cluster(); |
|
130 | ||
131 | // Check if the credentials are not already set in the options |
|
132 | if (!isset($options['username']) && !empty($config['username'])) { |
|
133 | $options['username'] = $config['username']; |
|
134 | } |
|
135 | if (!isset($options['password']) && !empty($config['password'])) { |
|
136 | $options['password'] = $config['password']; |
|
137 | } |
|
@@ 135-137 (lines=3) @@ | ||
132 | if (!isset($options['username']) && !empty($config['username'])) { |
|
133 | $options['username'] = $config['username']; |
|
134 | } |
|
135 | if (!isset($options['password']) && !empty($config['password'])) { |
|
136 | $options['password'] = $config['password']; |
|
137 | } |
|
138 | ||
139 | // Authentication |
|
140 | if (isset($options['username']) && isset($options['password'])) { |