Split out test files

This commit is contained in:
Mouse Reeve
2021-09-07 15:03:15 -07:00
parent ec501dfee9
commit 47ba2478b6
4 changed files with 119 additions and 84 deletions

View File

@ -32,7 +32,7 @@ class Login(View):
return TemplateResponse(request, "login.html", data)
@sensitive_variables("password")
@sensitive_post_parameters("password")
@method_decorator(sensitive_post_parameters("password"))
def post(self, request):
"""authentication action"""
if request.user.is_authenticated: