We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f5a26 commit 96b1ed4Copy full SHA for 96b1ed4
src/main/php/com/mongodb/Protocol.class.php
@@ -161,7 +161,7 @@ public function connect() {
161
$conversation->send($result['body']);
162
} while ($conversation->valid());
163
} catch (Throwable $t) {
164
- $e= new AuthenticationFailed($t->getMessage(), $this->optopns['user'], $this->optopns['pass']);
+ $e= new AuthenticationFailed($t->getMessage(), $this->options['user'], $this->options['pass']);
165
$e->setCause($t);
166
throw $t;
167
}
0 commit comments