lifecycle: make secret_key warning more prominent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> #2131
This commit is contained in:
parent
883f213b03
commit
fe39e39dcd
|
@ -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
|
# 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:
|
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("Secret key missing, check https://goauthentik.io/docs/installation/.")
|
||||||
|
j_print("----------------------------------------------------------------------")
|
||||||
sysexit(1)
|
sysexit(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue