1
0
Fork 0

Use POST instead of GET for logout function

This commit is contained in:
Mouse Reeve 2022-07-10 09:30:39 -07:00
parent a7cc41ce54
commit 7a772c7d3e
2 changed files with 10 additions and 4 deletions

View file

@ -77,7 +77,7 @@ class Login(View):
class Logout(View):
"""log out"""
def get(self, request):
def post(self, request):
"""done with this place! outa here!"""
logout(request)
return redirect("/")