Ticket #10026: confirm.diff

File confirm.diff, 479 bytes (added by Jason Mayfield, 16 years ago)
  • views.py

     
    118118    user = get_object_or_404(User, id=uid_int)
    119119    context_instance = RequestContext(request)
    120120
     121    if 'validlink' in context_instance:
     122        del context_instance['validlink']
     123
    121124    if token_generator.check_token(user, token):
    122125        context_instance['validlink'] = True
    123126        if request.method == 'POST':
Back to Top