Check old password
Hi,
Is there a way to check old password like what ADDT does to check the old passwword then new password and confirm password boxes?
How would i create the check password typed by user box?
Thansk for your help
Hi,
Is there a way to check old password like what ADDT does to check the old passwword then new password and confirm password boxes?
How would i create the check password typed by user box?
Thansk for your help
When the form is submitted, you can do a query into the database for when username is the currently logged in username and the password. Then you could check if the recordset is empty or not. If the recordset is empty, then you would display a validation error. If the recordset is not empty, that means the password matched up and you can continue with the update.
Thanks Jimmy, i created a confirm password box using spry widgets.
Left the check old password out as not sure how i would query this, do you have an example please?
What is difference between ADDT encryption of passwords and Security Assist SHA1 encryption?
Thanks again
Sorry, since its custom coding, its not really something that is supported, so you'll have to write the query on your own. It should be just a regular select query with a where clause to filter though.
I'm not sure how the passwords are encoded in ADDT, so I wouldn't be able to tell you that. There should be plenty of documentation online for SHA-1 encryption though.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.