Intermittent 403 response from django.contrib.auth.views.login() -


Using django.contrib.auth.views.login () for the user to process login I have a production environment Seeing the 403 response. The second attempt to login after the initial 403 (when this is the reaction).

I have all 403 login failures have started the log, POST payloads and cookie values ​​capturing that csrfmiddlewordtoken (hidden form field values) and csrftoken (cookie value) do not match. It is intermittent and happens to many users.

The following decorations are applied to the login function that is used to proxy: django.contrib.auth.views.login () function: @ Sensr_ csrf_cookie, @sensitive_post_parameters, @ Csrf_protect, @never_cache < / P>

What could be the reason for this problem?

.

If you open a tab Login tab, log in using the other tab, if you submit the form to the original tab, you get a Sisarf error.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -