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.
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.
For macOS or Linux:
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.
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.
With this method we will edit the file MainSettings.XML.
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.
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.