Quadodo - Change Password

Ask all your questions about the script here.

Quadodo - Change Password

Postby Gamerz on Mon Feb 01, 2010 10:00 pm

How do I make it so the user can have the ability to change there password on there own without the script e-mailing them.

Like, the user types the old password, and new password. The script matches the old password and current password, to see if it matches...if it does, the script changes the password to the new typed password.

Thanks.
Gamerz
User
 
Posts: 38
Joined: Mon Aug 03, 2009 8:02 pm

Re: Quadodo - Change Password

Postby jeffr on Tue Feb 02, 2010 7:50 pm

You would have to write a PHP routine to do that. It's not something the Quadodo script can do.

You would pull out the password code from the database, create a hash code with the typed-in old password and compare the two to see if they match. If they do, then create a new hash code with the new password and write it back to the database. Not too hard to do.

But you're giving up a level of security. By emailing a link back to the user, you're verifying - by way of an email address - that this user who is requesting a password change also has access to his email.

Your call, of course.
-Jeff
jeffr
User
 
Posts: 27
Joined: Tue Jul 14, 2009 9:25 pm
Location: Massachusetts, USA

Re: Quadodo - Change Password

Postby Venkatswamy on Mon Feb 08, 2010 9:00 pm

I think what gamerz meant was altering the change password routine after the user has logged in with valid username/password. That way the genuineness of the user is already established. What you say holds good for the 'forget password' feature.
Venkatswamy
User
 
Posts: 41
Joined: Tue Aug 11, 2009 2:34 am


Return to Support

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron