'Warning: For security reasons, please do not use the default user name or password' error appears

In version 2.82 or higher, if you receive the error:

Warning: For security reasons, please do not use the default user name or password

at the top of your storeadmin area, it means that you are using either the storeadmin user name "admin" or the password "12345". These are defaults, and using them makes it easier for hackers to guess login details and gain access. To remove this error:

  1. Open the config.php file in the /sbconf/ folder.

  2. Change the "SB_ADMIN_USER" value from "admin" to something else.

  3. Log in to the storeadmin area.

  4. Select the "Password" link and change the password from 12345 to something else.

Optional Modification

If you'd like to keep the error message when a store admin is using the default password 12345, but you don't the error to show when someone is using the default user name "admin" (i.e. the same behavior that was in version 2.81 or lower), you can modify the coding.

  1. Open the helpbuttons.php file that is in the /includes/ folder within the /storeadmin/ folder.

  2. Change the line:

    if (cookie_decr($_COOKIE['adminusr'])=='admin' OR cookie_decr($_COOKIE['adminpswd'])=="827ccb0eea8a706c4c34a16891f84e7b")

    to:

    if (cookie_decr($_COOKIE['adminpswd'])=="827ccb0eea8a706c4c34a16891f84e7b")

At this point, the error message should only appear if the customer is using the password "12345".