root: save email template directory in config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0c48b40848
commit
cd1a36fec4
|
@ -48,6 +48,7 @@ email:
|
|||
use_ssl: false
|
||||
timeout: 10
|
||||
from: authentik@localhost
|
||||
template_dir: /templates
|
||||
|
||||
outposts:
|
||||
# Placeholders:
|
||||
|
|
|
@ -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": [
|
||||
|
|
Reference in New Issue