From b27852c1f3fd3280e36ca0973b34a64c361b536a Mon Sep 17 00:00:00 2001
From: Martin Green <martin.speleo@gmail.com>
Date: Mon, 10 Jul 2023 16:55:09 +0200
Subject: [PATCH] redirect to actual login page

---
 core/views/expo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/views/expo.py b/core/views/expo.py
index cc7701a..9f69ccb 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -249,7 +249,7 @@ def expopage(request, path):
     # print(" - EXPOPAGES delivering the file: '{}':{} as MIME type: {}".format(request.path, path,getmimetype(path)),flush=True)
 
     if path.startswith("noinfo") and settings.PUBLIC_SITE and not request.user.is_authenticated:
-        return HttpResponseRedirect(urljoin(reverse("auth_login"), f"?next={request.path}"))
+        return HttpResponseRedirect(urljoin(reverse("expologin"), f"?next={request.path}"))
 
     if path.startswith("admin/"):
         # don't even attempt to handle these sorts of mistakes