mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix(postgres): set dbname=postgres in admin mode (#5346)
This commit is contained in:
parent
8b912645ac
commit
c8142030e9
@ -145,6 +145,8 @@ func (c Config) String(useAdmin bool) string {
|
||||
}
|
||||
if !useAdmin {
|
||||
fields = append(fields, "dbname="+c.Database)
|
||||
} else {
|
||||
fields = append(fields, "dbname=postgres")
|
||||
}
|
||||
if user.SSL.Mode != sslDisabledMode {
|
||||
fields = append(fields, "sslrootcert="+user.SSL.RootCert)
|
||||
|
Loading…
Reference in New Issue
Block a user