amon
amon copied to clipboard
Wrong "login required" redirect URL
When trying to access a protected resource like /servers and the user hasn't logged in yet, the app redirects to /account/login?next=/servers/. But that gives a 404 because it should be /account/login/?next=/servers/.
I believe L153 in settings.py should be changed with the trailing slash but I'm not sure as I don't have experience with Django.