1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00

fix login page

This commit is contained in:
Lukas Winkler 2020-07-02 21:47:24 +02:00
parent 59348c93b1
commit 67b859a72f
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -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 == "/"
):