Lost Login Credentials

Sometimes you get locked out, it happens... we know. We have created several methods to reset your credentials. If the first method does not work, try the second method. All three methods require access to the machine running HTS.

First start with shutting down your HTS.exe (console), not just the webinterface.

Method A and B will reset the hosting ports back to 8090 and 8092. If this is a problem, please proceed to method C.

Method A

During the installation process, a shortcut was added called "Reset mode". On Windows, this item can be found inside the start menu. On MacOS and Linux it is simply a shortcut. If you start HaasOnline Trade Server in reset mode then the 2FA login will be removed and the the username and password are now admin.

For the power users, the shortcut is just starting the application with the reset flag.

hts.exe -reset

For macOS or Linux:

hts.sh -reset

Method B

This method forces a reset manually. Before you start, you will have to shutdown your HTS platform. Your login credentials are stored in a file called MainSettings.XML.

  • Windows

    C:\Users\<YourUserID>\My Documents\HTS\Settings or C:\Users\<YourUserID>\Documents\HTS\Settings

  • MacOS

    ~/Library/Application Support/HTS/Settings

  • Linux

    /root/HTS/Settings

Simply delete this file. This will force the initial HTS setup wizard to recreate the file. Once the setup wizard starts, you may enter new login credentials.

Method C

With this method we will edit the file MainSettings.XML.

  • Windows

    C:\Users\<YourUserID>\My Documents\HTS\Settings or C:\Users\<YourUserID>\Documents\HTS\Settings

  • MacOS

    ~/Library/Application Support/HTS/Settings

  • Linux

    /root/HTS/Settings

Open MainSettings.XML with a text editor like Notepad. Inside the file you will find 2 fields named Username and Password. Copy and paste the two lines below into the file and replace the fields accordingly.

<Username>21232f297a57a5a743894a0e4a801fc3</Username>
<Password>21232f297a57a5a743894a0e4a801fc3</Password>

To disable two-factor authentication (2FA), set the "TFAEnabled" field value to "false".

Save the file and restart HTS. The username and password are now admin. Be sure to change the username and password immediately in settings when you have logged in.

Last updated