Lost login credentials

From Haasonline Software Wiki
Jump to: navigation, search

Compared to version 2.0

Inside version 2 we have been using a little rabbit in the system tray, with a small popup menu. Windows our new releases this is removed, everything has become web-based.


The Login credentials are setup at the very first start. The first start wizard will give the option for you to enter login credentials. Once the software is running the login credentials can be changed on the Settings page.

Login settings.png


When you have setup the Haasonline Trade Server on a remote VPS then you want to increase security against hackers. We advice to go over to the Settings page and to enable 2FA login. With the assistance of Google Authentication you are creating a extra security layer against potential hackers.

In addition... its recommend to setup Telegram as well, with Telegram you will get a notification in case somebody has login into the VPS.

Lost login credentials

In some events it might happen you have lost your login credentials. For such events we have created a backdoor, but to access this backdoor you must have access to the computer. We have 2 (well 3) options to solve the "lost credentials" issue, both are slightly differently. If the first method is not working then its advised to just follow the second method.

Warning: 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 we have added a shortcut called "Reset mode". On Windows this item can be found inside the Start menu and on OSX and Linux its a shortcut which we added. If you start the Haasonline Trade Server in the Reset mode then the 2FA login will be removed and the login credentials will become "admin" and "admin".

For the power users... the shortcut is just starting the application like "hts.exe -reset" or "hts.sh -reset".

Method B

With this method we will be working around the Reset mode and do it manually. Within the software we are storing the login credential inside the file called "MainSettings.XML" this file can be found on Windows at the "My documents\HTS\Settings" folder and on OSX and Linux it can be found in "Libary\HTS\Settings" folder.

All you have to do is find and delete this file. This will make the software think its started for the first time and it will force the first start wizard to show up. In where you can enter new login credentials.

Method C

With this method we will edit the files called "MainSettings.XML" this file can be found on Windows at the "My documents\HTS\Settings" folder and on OSX it can be found in "~/Library/Application Support/HTS/Settings/" and Linux it can be found in "Libary\HTS\Settings" folder. Please browse to the MainSettings.XML file and open it with a text editor like Notepad. Inside the file you will find 2 fields called "Username" and "Password". Please edit these fields and give it the following value "21232f297a57a5a743894a0e4a801fc3".

Note: If you have 2FA enabled and want to disable it, then edit the field "TFAEnabled" and set "false" inside it.

If you have done this, saved the file and restart the Haasonline Trade Server then the login will become "admin" and "admin".