From 67b859a72f03b5b4784b60ffd90909864a5599cf Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Thu, 2 Jul 2020 21:47:24 +0200 Subject: [PATCH] fix login page --- common/redirect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/redirect.py b/common/redirect.py index 9ea976f..f11ad44 100644 --- a/common/redirect.py +++ b/common/redirect.py @@ -11,6 +11,7 @@ class NoTrailingSlashMiddleware: if ( old_url.endswith('/') and not old_url.startswith("/admin") + and not old_url.startswith("/login") and not old_url.startswith("/api") and not old_url == "/" ):