mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Removes improperly places csrf_exempt decorator
This commit is contained in:
parent
03a77c93ac
commit
8e2a8ec6e0
1 changed files with 0 additions and 2 deletions
|
@ -6,7 +6,6 @@ from django.template.response import TemplateResponse
|
|||
from django.utils.decorators import method_decorator
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.views import View
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
from django.views.decorators.debug import sensitive_variables, sensitive_post_parameters
|
||||
|
||||
from bookwyrm import forms, models
|
||||
|
@ -15,7 +14,6 @@ from bookwyrm.views.helpers import set_language
|
|||
|
||||
|
||||
# pylint: disable=no-self-use
|
||||
@method_decorator(csrf_exempt, name="dispatch")
|
||||
class Login(View):
|
||||
"""authenticate an existing user"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue