mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
fix(sql): ssl check for empty mode (#345)
This commit is contained in:
parent
73a4b7baef
commit
b7298bed1e
@ -63,7 +63,7 @@ func (s *SQL) Start() (*sql.DB, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *SQL) checkSSL() {
|
func (s *SQL) checkSSL() {
|
||||||
if s.SSL == nil || s.SSL.Mode == sslDisabledMode {
|
if s.SSL == nil || s.SSL.Mode == sslDisabledMode || s.SSL.Mode == "" {
|
||||||
s.SSL = &ssl{Mode: sslDisabledMode}
|
s.SSL = &ssl{Mode: sslDisabledMode}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user