diff --git a/frontend/src/setup/components/DatabaseStep.jsx b/frontend/src/setup/components/DatabaseStep.jsx index b56c4bf9605350479e6f1d974e2f47ae02214214..4faeff910bae0a88e0b837a74946dbf22d78078b 100644 --- a/frontend/src/setup/components/DatabaseStep.jsx +++ b/frontend/src/setup/components/DatabaseStep.jsx @@ -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) {