Merchant Password Recovery

From AbleCommerce Wiki
Revision as of 17:16, 1 August 2008 by Sohaib (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sometimes if you are not careful you can lock yourself out of AC7. If you have forgotten password for your Merchant ID login you may use the forgot password feature, but this feature can be used only if you have your email/SMTP settings setup correctly. What if that is not the case? Go directly to the database and change the database records manually? Well there is a utility files that comes with AC7 thats going to make it easier. Its in the Install folder named ResetAdmin.aspx.

There are three things you have to set at the top of the file:

        //BY DEFAULT THIS SCRIPT IS DISABLED
        //CHANGE THE LINE BELOW FROM FALSE TO TRUE TO USE THIS SCRIPT
        bool enabled = false;
       
        //THIS IS THE USER THAT WILL BE CREATED OR RESET
        //YOU CAN UPDATE THEM IF YOU WANT TO USE SOMETHING OTHER THAN DEFAULT
        string userName = "admin@ablecommerce.com";
        string password = "password";

So put that script in place on your server, adjust these settings, and then visit the script in the browser. Then you should be able to log in with the user account you specify.

You must delete the file as soon as you are done using it.