Ticket #72 (new enhancement)

Opened 3 years ago

Last modified 4 weeks ago

Add forgotten password link to login

Reported by: mike Owned by: mike
Priority: normal Milestone: 1.1
Component: Administration Version: 1.0b3
Severity: normal Keywords:
Cc:

Description

We should have a forgotten password function which sends the password of the administrator to the administrative email address. We should also add the administrative email address as an input field within the install script.

Change History

Changed 3 years ago by anti

It's impossible to send the password, because it is not stored in plaintext anywhere. But we could generate an url with a special hash, store that hash in the config table for example, then mail that generated url.

That url would then allow changing of password without entering the old one.

Alternatively, we could implement reset password functionality, by simply generating a new random string for password and then mailing that out to the admin, but that would then require some additional authentication - like asking for Mothers maiden name or something in that vein before resetting the password - otherwise anyone could just reset passwords on any Plogger sites out there.

Changed 3 years ago by dummy

Um. Yes, this would be great, especially as I've forgotten mine. Any hints on where to poke around to reset it ?

Changed 3 years ago by mike

You'll have to use phpMyAdmin or another database management product to interface with your database. Check your website control panel, they will have something installed for sure.

Navigate to the config table (plogger_config) and change the password field. The password is not saved plaintext, so you'll need to apply the function MD5 hash to save your password in the proper format. If this doesn't work, try just blanking the field to null and logging in without a password. Then you can change the password from the admin panel within Plogger.

Changed 3 months ago by sidtheduck

  • milestone set to 1.0

Changed 3 months ago by sidtheduck

I was thinking of implementing this idea of resetting the password link. Maybe similar to Wordpress where you have to enter either the username or email address that is located within the database. I don't know that we would need to implement any "secret question" type "mother's maiden name" or anything like that. Thoughts?

Changed 2 months ago by sidtheduck

  • type changed from defect to enhancement

Changed 4 weeks ago by sidtheduck

  • milestone changed from 1.0 to 1.1
Note: See TracTickets for help on using tickets.