From 44a94157beaa319f04efacd06a7a20daf7443e6f Mon Sep 17 00:00:00 2001 From: Ben Muthalaly Date: Sun, 15 Oct 2023 23:36:47 -0500 Subject: [PATCH] Remove logging of configured username and password --- archivebox/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/main.py b/archivebox/main.py index 87dd8899..5c6a3fd7 100755 --- a/archivebox/main.py +++ b/archivebox/main.py @@ -425,7 +425,7 @@ def init(force: bool=False, quick: bool=False, setup: bool=False, out_dir: Path= print('{green}[√] Done. Verified and updated the existing ArchiveBox collection.{reset}'.format(**ANSI)) else: if ARCHIVEBOX_USERNAME and ARCHIVEBOX_PASSWORD: - print('{green}[+] ARCHIVEBOX_USERNAME and ARCHIVEBOX_PASSWORD configuration options found. Creating new admin user with username {} and password {}.{reset}'.format(ARCHIVEBOX_USERNAME, ARCHIVEBOX_PASSWORD, **ANSI)) + print('{green}[+] ARCHIVEBOX_USERNAME and ARCHIVEBOX_PASSWORD configuration options found. Creating new admin user.{reset}'.format(**ANSI)) from django.contrib.auth.models import User User.objects.create_superuser(username=ARCHIVEBOX_USERNAME, password=ARCHIVEBOX_PASSWORD) # if config.HTTP_USER and config.HTTP_PASS: