Skip to content
Snippets Groups Projects
Commit d2f2facd authored by Allen Gilliland's avatar Allen Gilliland
Browse files

trim out unnecessary check for ssl === true

parent bd61f18c
No related branches found
No related tags found
No related merge requests found
......@@ -46,18 +46,16 @@ export default class DatabaseStep extends Component {
} catch (error) {
let formError = error;
if (details.details.ssl === true) {
details.details.ssl = false;
details.details.ssl = false;
try {
// validate the details before we move forward
await this.props.dispatch(validateDatabase(details));
try {
// ssl connection failed, lets try non-ssl
await this.props.dispatch(validateDatabase(details));
formError = null;
formError = null;
} catch (error2) {
formError = error2;
}
} catch (error2) {
formError = error2;
}
if (formError) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment