You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
684 B

--- src/github.com/bleenco/abstruse/server/store/store.go 2021-05-08 00:47:35.252691767 +0200
+++ src/github.com/bleenco/abstruse/server/store/store.go 2021-05-08 00:48:00.203334052 +0200
@@ -96,7 +96,7 @@
case "mssql":
return fmt.Sprintf("sqlserver://%s%s:%d?database=%s", credentials(cfg), cfg.Host, cfg.Port, cfg.Name)
case "postgres", "postgresql":
- return fmt.Sprintf("host=%s port=%d user=%s dbname=%s password=%s", cfg.Host, cfg.Port, cfg.User, cfg.Name, cfg.Password)
+ return fmt.Sprintf("host=%s port=%d user=%s dbname=%s password=%s sslmode=disable", cfg.Host, cfg.Port, cfg.User, cfg.Name, cfg.Password)
case "sqlite", "sqlite3":
return cfg.Name
default: