Browse Source

perf: revert csrf token project

pull/8873/head
ibuler 2 years ago
parent
commit
d9663036f8
  1. 2
      apps/authentication/views/login.py

2
apps/authentication/views/login.py

@ -147,7 +147,7 @@ class UserLoginContextMixin:
@method_decorator(sensitive_post_parameters(), name='dispatch')
# @method_decorator(csrf_protect, name='dispatch')
@method_decorator(csrf_protect, name='dispatch')
@method_decorator(never_cache, name='dispatch')
class UserLoginView(mixins.AuthMixin, UserLoginContextMixin, FormView):
redirect_field_name = 'next'

Loading…
Cancel
Save