fix: Add ssl flag to the postgresql authentication

This commit is contained in:
Faruk AYDIN
2021-11-24 15:04:34 +01:00
committed by Ömer Faruk Aydın
parent 9358f6c5b0
commit 23621d1b06
2 changed files with 21 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ export default class Authentication {
database: connectionData.database,
user: connectionData.username,
password: connectionData.password,
ssl: connectionData.ssl,
})
this.connectionData = connectionData;

View File

@@ -64,6 +64,18 @@
"description": null,
"docUrl": "https://automatisch.io/docs/postgresql#password",
"clickToCopy": false
},
{
"key": "ssl",
"label": "Use SSL?",
"type": "boolean",
"required": true,
"readOnly": false,
"value": false,
"placeholder": null,
"description": null,
"docUrl": "https://automatisch.io/docs/postgresql#ssl",
"clickToCopy": false
}
],
"authenticationSteps": [
@@ -99,6 +111,10 @@
{
"name": "password",
"value": "{fields.password}"
},
{
"name": "ssl",
"value": "{fields.ssl}"
}
]
}
@@ -160,6 +176,10 @@
{
"name": "password",
"value": "{fields.password}"
},
{
"name": "ssl",
"value": "{fields.ssl}"
}
]
}