mirror of https://github.com/jumpserver/jumpserver
perf: revert csrf token project
parent
305e9bd0ea
commit
d9663036f8
|
@ -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…
Reference in New Issue