Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Use a named URL for the LOGIN_URL value

Daniel Quinn6c8ef8f044bc
diff --git a/src/paperless/settings.py b/src/paperless/settings.py
index a9f314ecb..1dab5dd4a 100644
--- a/src/paperless/settings.py
+++ b/src/paperless/settings.py
@@ -41,7 +41,7 @@ SECRET_KEY = os.getenv(
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
-LOGIN_URL = '/admin/login'
+LOGIN_URL = "admin:login"
ALLOWED_HOSTS = ["*"]