mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Merge pull request #4851 from Infisical/pam-fix-ssl-issue
pam: fix ssl issue
This commit is contained in:
@@ -104,8 +104,7 @@ const makeSqlConnection = (
|
|||||||
// (like being able to do an auth handshake regardless pass or not)
|
// (like being able to do an auth handshake regardless pass or not)
|
||||||
if (
|
if (
|
||||||
connectOnly &&
|
connectOnly &&
|
||||||
(error.message === `password authentication failed for user "${TEST_CONNECTION_USERNAME}"` ||
|
error.message === `password authentication failed for user "${TEST_CONNECTION_USERNAME}"`
|
||||||
error.message.includes("no pg_hba.conf entry for host"))
|
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user