From 477e30f542432de6bcb4f96e17c9c91e46e93ce4 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 26 Feb 2021 15:07:30 +0100 Subject: [PATCH] core: fix path for blank avatar when avatars are disabled --- authentik/core/models.py | 2 +- docker.env.yml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 docker.env.yml diff --git a/authentik/core/models.py b/authentik/core/models.py index 7dae2a9d4..d806be2e2 100644 --- a/authentik/core/models.py +++ b/authentik/core/models.py @@ -36,7 +36,7 @@ USER_ATTRIBUTE_DEBUG = "goauthentik.io/user/debug" USER_ATTRIBUTE_SA = "goauthentik.io/user/service-account" GRAVATAR_URL = "https://secure.gravatar.com" -DEFAULT_AVATAR = static("authentik/user_default.png") +DEFAULT_AVATAR = static("dist/assets/images/user_default.png") def default_token_duration(): diff --git a/docker.env.yml b/docker.env.yml deleted file mode 100644 index f8961f7ef..000000000 --- a/docker.env.yml +++ /dev/null @@ -1,9 +0,0 @@ -debug: true -postgresql: - user: postgres - host: postgresql - -redis: - host: redis - -log_level: debug