components: fix typo
This commit is contained in:
parent
0932385a36
commit
0fd076529b
2 changed files with 1 additions and 1 deletions
|
|
@ -1,15 +0,0 @@
|
|||
diff --git a/lifecycle/system_migrations/tenant_files.py b/lifecycle/system_migrations/tenant_files.py
|
||||
index 40795d460..7ac1efb34 100644
|
||||
--- a/lifecycle/system_migrations/tenant_files.py
|
||||
+++ b/lifecycle/system_migrations/tenant_files.py
|
||||
@@ -2,8 +2,9 @@
|
||||
from pathlib import Path
|
||||
|
||||
from lifecycle.migrate import BaseMigration
|
||||
+from authentik.lib.config import CONFIG
|
||||
|
||||
-MEDIA_ROOT = Path(__file__).parent.parent.parent / "media"
|
||||
+MEDIA_ROOT = Path(CONFIG.get("storage.media.file.path"))
|
||||
TENANT_MEDIA_ROOT = MEDIA_ROOT / "public"
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue