PHP Classes


Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in

      Auto CMS  >  All threads  >  problem  >  (Un) Subscribe thread alerts  
Summary:the control panel form loads the encrypted
Author:Angelo Alves Farias
Date:2009-07-07 19:15:32
Update:2009-07-08 01:58:55

  1. problem   Reply   Report abuse  
Picture of Angelo Alves Farias Angelo Alves Farias - 2009-07-07 19:15:32
The control panel form loads the value of the encrypted password, then if someone update the cms, the new pass will be the encripted pass!

I fixed it:
replace de $password = ... in function enginesavefile() for:

$password = (!empty($_POST['admin_password'])) ? md5($_POST['admin_password']) : admin_password;

and deleted the value of password in control panel: function enginupdateform()

  2. corrected problem!   Reply   Report abuse  
Picture of Roberto Aleman Roberto Aleman - 2009-07-08 01:58:55 - In reply to message 1 from Angelo Alves Farias
sorry, still this a little green, I am correcting the details