fix a few major permission holes
This commit is contained in:
+2
-1
@@ -519,7 +519,8 @@ def page_not_found(request, exception):
|
||||
|
||||
|
||||
def page_forbidden(request, exception):
|
||||
response = render(request, "403.html")
|
||||
|
||||
response = render(request, "403.html", context={"exception": exception})
|
||||
|
||||
response.status_code = 403
|
||||
|
||||
|
||||
Reference in New Issue
Block a user