Explorar o código

Fixed default postgres user name to match docs

Changed default SQL user from posgres to postgres
Petr Velan %!s(int64=3) %!d(string=hai) anos
pai
achega
7746fff80d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      servercfg/sqlconf.go

+ 1 - 1
servercfg/sqlconf.go

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