Opened 13 years ago

Closed 13 years ago

#14979 closed (invalid)

Password reset stopped working in 1.2.4

Reported by: Loststylus Owned by: nobody
Component: Uncategorized Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (1)

comment:1 by Loststylus, 13 years ago

Resolution: invalid
Status: newclosed

wait, seems it's my bad - i use custom form

Note: See TracTickets for help on using tickets.
Back to Top