ugcs / dronelogbook

Dronelogbook integration
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Prevent from using it with unactivated version of UgCS #71

Open kkbrass opened 5 years ago

kkbrass commented 5 years ago

Currently when trying to use the T-Sync Tool with an unactivated version of UgCS, it displays the following error (see image).

screenshot 2019-01-10 at 10 47 12

Firstly, the error message needs to be fixed so it's more understandable. Something like:

"The number of sessions exceeds the maximum allowed session count for your license."

Next, currently there is a workaround where by closing the client and just keeping the server open, T-Sync tool can still be opened with an unactivated version of UgCS. This workaround needs to be blocked.

DLaptevUGCS commented 5 years ago

Fix message format and use the same logic that is used when the server is not available for every error from the server (navigate to login form).