#14979: Password reset stopped working in 1.2.4
---------------------------+------------------------------------------------
 Reporter:  Loststylus     |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.2       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 {{{
 Traceback:
 File "/Library/Python/2.5/site-packages/django/core/handlers/base.py" in
 get_response
   100.                     response = callback(request, *callback_args,
 **callback_kwargs)
 File
 
"/Users/DataGreed/Work/job/site/sources/trunk/core/registration/authwrappers.py"
 in password_reset
   112.                            *args, **kwargs)
 File
 
"/Users/DataGreed/Work/job/site/sources/trunk/core/registration/authwrappers.py"
 in generic_wrapper
   30.     response = view_link(request, *args, **kwargs)
 File "/Library/Python/2.5/site-packages/django/utils/decorators.py" in
 _wrapped_view
   76.                     response = view_func(request, *args, **kwargs)
 File "/Library/Python/2.5/site-packages/django/contrib/auth/views.py" in
 password_reset
   121.             form.save(**opts)

 Exception Type: TypeError at /user/password/recover/
 Exception Value: save() got an unexpected keyword argument 'request'

 }}}

 Worked normally before 1.2.4

 In django.contrib.auth.views.py there's a line:
 {{{
             opts['request'] = request
 }}}

 Seems this is cauding the trouble, because the form.save method then
 raises the actual exception.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14979>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to