Skip to content

Commit

Permalink
Connect before try
Browse files Browse the repository at this point in the history
  • Loading branch information
Daynnnnn committed Sep 17, 2024
1 parent 18fe4f1 commit 4ed3a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AuthServices/LdapAuthService.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public function checkCredentialsAgainstForwardAuth(array $credentials): array|fa
'password' => $this->config['password'],
]);

$mainConnection->connect();

// Start try block, as any exceptions past here will be authentication issues,
// end block with finally for the same reason.
try {
Expand Down

0 comments on commit 4ed3a46

Please sign in to comment.