From 607ccd10bfe91bf42e7152e56249fc06e20cef4e Mon Sep 17 00:00:00 2001 From: Florian Knodt Date: Fri, 19 Jan 2024 09:12:56 +0100 Subject: [PATCH] docker-entrypoint.sh: clarify default token message When a default admin API token is found, a warning is displayed. As it is only called "token", some users might not know what token is referred to. Also the message should give a hint or link to a documentation on how to remove it. --- docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 9b39689..14406d3 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -87,7 +87,7 @@ from users.models import Token try: old_default_token = Token.objects.get(key="0123456789abcdef0123456789abcdef01234567") if old_default_token: - print("⚠️ Warning: You have the old default admin token in your database. This token is widely known; please remove it.") + print("⚠️ Warning: You have the old default admin API token in your database. This token is widely known; please remove it. Log in as your superuser and check API Tokens in your user menu.") except Token.DoesNotExist: pass END