Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How To Reset OsCommerce Admin Password (Answer)


benaucn

Recommended Posts

I'm using osCommerce Online Merchant v2.3.3. And I used Velveeta's (thanks mate!) method with some changes to the query to match my v2.3.3 database table:

tep_db_query("update administrators set user_password = '" . tep_encrypt_password('myPassword') . "' where id = 1");

I pasted my snippet (above) in my login.php just ABOVE this code:

  if (tep_session_is_registered('admin')) {
    $action = 'logoff';
  }

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...