Tribler / cloudomate

Unpermissioned Open Computer API
GNU Lesser General Public License v3.0
15 stars 16 forks source link

Random user overwrites current user credentials #60

Open Jaapp- opened 5 years ago

Jaapp- commented 5 years ago

As the configuration file has one user section, specifying random user overwrites this section and credentials are lost.

When servers have been purchased previously, this can end up in losing access to the server.

The simplest fix would be, when buying a server, the credentials should be saved within the server section rather than the user section.

MattSkala commented 5 years ago

I think it makes sense to copy username and password from user section to the specific server section when the server is purchased. Then when the user section is overwritten, the credentials of purchased providers are not lost.