diff --git a/authentik/lib/default.yml b/authentik/lib/default.yml index c89b1d826..92fe9a0bd 100644 --- a/authentik/lib/default.yml +++ b/authentik/lib/default.yml @@ -48,6 +48,7 @@ email: use_ssl: false timeout: 10 from: authentik@localhost + template_dir: /templates outposts: # Placeholders: diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 1041b1cda..c20b99e4e 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -230,7 +230,7 @@ ROOT_URLCONF = "authentik.root.urls" TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", - "DIRS": ["/templates"], + "DIRS": [CONFIG.y("email.template_dir")], "APP_DIRS": True, "OPTIONS": { "context_processors": [