diff options
author | Martin Green <martin.speleo@gmail.com> | 2023-07-10 16:55:09 +0200 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2023-07-10 16:55:09 +0200 |
commit | b27852c1f3fd3280e36ca0973b34a64c361b536a (patch) | |
tree | 076103150a084e74fc620a4958fc110bacf63c83 /core | |
parent | 68724a0504f5deed40f1c4db43396806247a9ea6 (diff) | |
download | troggle-b27852c1f3fd3280e36ca0973b34a64c361b536a.tar.gz troggle-b27852c1f3fd3280e36ca0973b34a64c361b536a.tar.bz2 troggle-b27852c1f3fd3280e36ca0973b34a64c361b536a.zip |
redirect to actual login page
Diffstat (limited to 'core')
-rw-r--r-- | core/views/expo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |