#12095: Login doesn`t work after django update to revision 11664
------------------------------------+---------------------------------------
          Reporter:  venia          |         Owner:  nobody          
            Status:  reopened       |     Milestone:                  
         Component:  Uncategorized  |       Version:  SVN             
        Resolution:                 |      Keywords:  csrf, auth, user
             Stage:  Unreviewed     |     Has_patch:  0               
        Needs_docs:  0              |   Needs_tests:  0               
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by anonymous):

 There's no token included in the source. I've refreshed the page multiple
 times after adding the token.

 {{{
 <form action="{% url django.contrib.auth.views.login %}" method="post">{%
 csrf_token %}
         <table>
                 <tr>
                         <td>{{ form.username.label_tag }}</td>
                         <td>{{ form.username }}</td>
                 </tr>
                 <tr>
                         <td>{{ form.password.label_tag }}</td>
                         <td>{{ form.password }}</td>
                 </tr>
                 <tr>
                         <td></td>
                         <td>
                                 <div class="submit">
                                         <input type="hidden" name="next"
 value="{{ next }}" />
                                         <input type="submit"
 class="button" value="Login" />
                                 </div>
                         </td>
                 </tr>
         </table>
 </form>
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12095#comment:6>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to