From 2a5ebeb79ae09177bd1d18b88b5afa0494bdd323 Mon Sep 17 00:00:00 2001 From: Jackson Date: Wed, 27 Mar 2024 14:55:19 +0100 Subject: [PATCH] don't echo token during synadm config --- synadm/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synadm/cli/__init__.py b/synadm/cli/__init__.py index 84d85c4..48b34f5 100644 --- a/synadm/cli/__init__.py +++ b/synadm/cli/__init__.py @@ -184,7 +184,7 @@ def get_redacted_token_prompt(cli_token): "token": click.prompt( get_redacted_token_prompt(token), default=token if token else helper.config.get("token", token), - show_default=False,), + show_default=False, hide_input=True), "base_url": click.prompt( "Synapse base URL", default=base_url if base_url else helper.config.get(