mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +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(
|
ctx.obj.config.pg_pass = click.prompt(
|
||||||
'User password: ',
|
'User password',
|
||||||
hide_input = True
|
hide_input = True,
|
||||||
|
show_default = False,
|
||||||
|
default = ctx.obj.config.pg_pass or ""
|
||||||
) or None
|
) or None
|
||||||
|
|
||||||
ctx.obj.config.save()
|
ctx.obj.config.save()
|
||||||
|
|
Loading…
Reference in a new issue