csrf icon indicating copy to clipboard operation
csrf copied to clipboard

XMLHttpRequest regen token problem

Open kleidp opened this issue 5 years ago • 1 comments

When a request is send in ajax, the token are regenerate.

The token in form are invalid because the page are not reload.

kleidp avatar Jul 16 '19 16:07 kleidp

oO I remember ajax request are protected by same origin policy.

There is no need csrf protection csrf in ajax ?

kleidp avatar Jul 16 '19 16:07 kleidp