From fe39e39dcd9ae39970eb0e8a7e8312eca90d92d2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 24 Jan 2022 21:52:16 +0100 Subject: [PATCH] lifecycle: make secret_key warning more prominent Signed-off-by: Jens Langhammer #2131 --- lifecycle/wait_for_db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lifecycle/wait_for_db.py b/lifecycle/wait_for_db.py index e412e79be..86e3cb80b 100755 --- a/lifecycle/wait_for_db.py +++ b/lifecycle/wait_for_db.py @@ -28,7 +28,9 @@ def j_print(event: str, log_level: str = "info", **kwargs): # Sanity check, ensure SECRET_KEY is set before we even check for database connectivity if CONFIG.y("secret_key") is None or len(CONFIG.y("secret_key")) == 0: + j_print("----------------------------------------------------------------------") j_print("Secret key missing, check https://goauthentik.io/docs/installation/.") + j_print("----------------------------------------------------------------------") sysexit(1)