SemoxyMC / Server

The backend code for Semoxy
GNU General Public License v3.0
0 stars 0 forks source link

Create root account in webinterface #14

Closed xImAnton closed 3 years ago

xImAnton commented 3 years ago

so that installation script is not needed.

For server access verification we could save a token in a local file and require it in the creation form.

The form will show up in the webinterface when no user exists yet.

For checking if a root account exists on the frontend we could use a value in the /config response. Maybe rename that endpoint to /info for consistency.

There should be a config option that disables the root user. this could be helpful for testing- and presentation environments.