mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
I think it should fix the problem... I was unable to reproduce it but I know it exists somewhere :-)
Anyway, I need to add a proper way to handle unknown locations that can be entered manually (maybe custom 404 and 500 errors templates?) fixed #168
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ def dologin(request):
|
||||
password=request.POST["password"])
|
||||
|
||||
next = request.POST["next"]
|
||||
if next == "None":
|
||||
if next.strip() in ["", "None"]:
|
||||
next = reverse(modoboa.admin.views.domains)
|
||||
return HttpResponseRedirect(next)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user