django csrf

L

Li Hui

When I add enctype="text/plain" to a post form like <form action="/auth"
method="post" enctype="text/plain">, there is a "CSRF verification
failed." error.
But when I remove it, all is right.
Who can tell me why?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,474
Latest member
AntoniaDea

Latest Threads

Top