Answer the question
In order to leave comments, you need to log in
Yii2 advanced template. When submitting the form Unable to verify your data submission. In this case, _сsrf is transmitted. How to fix?
Installed an empty advanced application. Performed initialization. Set up the base. Performed the migration.
Can't register. Unable to verify your data submission error. Inet says cant with the transfer of srf.
But in LAN on the test server everything works. Hosting stops working. Moreover, even a POST request does not come there, although the data in the request body is visible. Changing the form encoding type does not help.
Request Body
Content Type 'application/x-www-form-urlencoded'
Raw '_csrf=XzZfZS53cjhvRThQYRAfT2ZiGlNFLjNJHlsyNU9FIlkvT2tTSCM2Vg%3D%3D&SignupForm%5Busername%5D=asdasd&SignupForm%5Bemail%5D=asdasdasd%40sdfsdf.sdf&SignupForm%5Bpassword%5D=sfsdfsdf&signup-button='
Decoded to Params []
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question