Ticket #9940 (closed defect: fixed)

Opened 1 year ago

Last modified 6 months ago

Admin unable to reset password

Reported by: rinon Assigned to: hasienda
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: password reset
Cc: Trac Release: 0.12

Description

It seems that the admin "Reset passwords" functionality is broken. A user can reset their own password, but trying to do a reset in the admin interface has no effect (no password change, no email). I have tried this is both the 0.11 branch and the current SVN (r11448). Debug log does not appear to show any useful AccountManager specific information.

Attachments

Change History

04/03/12 23:32:13 changed by rinon

Upon further investigation, it appears this is confined to resetting the password of a user who has never loggen in.

04/03/12 23:39:42 changed by rinon

I have confirmed this by manually inserting a row into the session table. It seems that if the user has never logged in, there will be no row in session, and reset will not work. I suggest that the admin interface for adding users also inserts a row into the session table, or the reset works without a row in the session table for the user.

(follow-up: ↓ 4 ) 04/04/12 00:26:22 changed by rjollos

I think that is what is being discussed in #9252. See also #9942.

(in reply to: ↑ 3 ) 04/04/12 00:33:33 changed by rinon

Replying to rjollos:

I think that is what is being discussed in #9252. See also #9942.

Very similar, but my db did not even include a row in session for users before their first log in. It appears that #9252 has a row, but authenticated = 0.

09/08/12 15:11:37 changed by hasienda

This issue is closely related to #9843.

Do you see it fixed with latest trunk code too? Feedback would be much appreciated.

11/23/12 23:39:21 changed by hasienda

(In [12385]) AccountManagerPlugin: Add import missing from admin code after [12384], refs #7577, #9052, #9090 and #9940.

12/01/12 16:55:52 changed by hasienda

  • status changed from new to closed.
  • resolution set to fixed.

(In [12398]) AccountManagerPlugin: Releasing version 0.4, pushing development to acct_mgr-0.5dev.

Availability of that code as stable release closes #874, #3459, #4677, #5295, #5691, #6616, #7577, #8076, #8685, #8770, #8791, #8990, #9052, #9079, #9090, #9139, #9246, #9252, #9547, #9618, #9676, #9843, #9852, #9940, #10023, #10028, #10123, #10142, #10204, #10276, #10397, #10412, #10594, #10625 and #10644.

Some more issues have been worked-on, yet without confirmed resolution, refs #5464 (for JiraToTracIntegration), #8927 and #10134.

And finally there are some issues and enhancement requests showing progress, but known to require more work to resolve them satisfactorily, refs #843, #1600, #5964, #8217, #8933.

Thanks to all contributors and followers, that enabled and encouraged a good portion of this development work.


Add/Change #9940 (Admin unable to reset password)




Change Properties
Action