mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 11:11:09 +00:00
allow empty password for database setup
This commit is contained in:
parent
6ab6343ae7
commit
116a04ce4d
|
@ -129,8 +129,10 @@ def cli_setup(ctx: click.Context) -> None:
|
|||
)
|
||||
|
||||
ctx.obj.config.pg_pass = click.prompt(
|
||||
'User password: ',
|
||||
hide_input = True
|
||||
'User password',
|
||||
hide_input = True,
|
||||
show_default = False,
|
||||
default = ctx.obj.config.pg_pass or ""
|
||||
) or None
|
||||
|
||||
ctx.obj.config.save()
|
||||
|
|
Loading…
Reference in a new issue