Browse Source

Fixed default postgres user name to match docs

Changed default SQL user from posgres to postgres
Petr Velan 3 năm trước cách đây
mục cha
commit
f31d16d619
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      servercfg/sqlconf.go

+ 1 - 1
servercfg/sqlconf.go

@@ -36,7 +36,7 @@ func GetSQLPort() int32 {
 	return port
 }
 func GetSQLUser() string {
-	user := "posgres"
+	user := "postgres"
 	if os.Getenv("SQL_USER") != "" {
 		user = os.Getenv("SQL_USER")
 	} else if config.Config.SQL.Username != "" {