mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
fix: don't require postgres pass when password_file is supplied
Closes HP-528
This commit is contained in:
@@ -25,7 +25,8 @@ const databaseConfig = type({
|
||||
port: 'number | ""',
|
||||
name: "string",
|
||||
user: "string",
|
||||
pass: "string",
|
||||
pass: "string?",
|
||||
password_file: "string?",
|
||||
max_open_conns: "number = 10",
|
||||
max_idle_conns: "number = 10",
|
||||
conn_max_idle_time_secs: "number = 3600",
|
||||
|
||||
Reference in New Issue
Block a user