Hi,
Damn passwords have me stumped again!. I have an edit details form. For additional security I want the user to enter their current password before changing details. Of course, if the password they enter does not match their current password, then I don't save details.
If I use something like
$user = & JFactory::getUser();
$pwd = $user->password
and then I check $pwd again the text box on the form, I will be comparing an encrypted string against a clear text.
Any pattern I can use to achieve this? Thank in advance
Mark
Damn passwords have me stumped again!. I have an edit details form. For additional security I want the user to enter their current password before changing details. Of course, if the password they enter does not match their current password, then I don't save details.
If I use something like
$user = & JFactory::getUser();
$pwd = $user->password
and then I check $pwd again the text box on the form, I will be comparing an encrypted string against a clear text.
Any pattern I can use to achieve this? Thank in advance
Mark