add a setup screen to create the first admin user

If you prefer to auto-create the first admin you can enable the
"create_default_admin" configuration key and SFTPGo will work as before.

You can also create the first admin by loading initial data: now you can
set both username and password, before you could only change the password
This commit is contained in:
Nicola Murino
2021-05-14 19:21:15 +02:00
parent 0540b8780e
commit f2b93c0402
20 changed files with 430 additions and 36 deletions

View File

@@ -188,11 +188,17 @@ sudo systemctl restart sftpgo
systemctl status sftpgo
```
## Create the first admin
To start using SFTPGo you need to create an admin user, the easiest way is to use the built-in Web admin interface, so open the Web Admin URL and create the first admin user.
[http://127.0.0.1:8080/web/admin](http://127.0.0.1:8080/web/admin)
## Add virtual users
The easiest way to add virtual users is to use the built-in Web interface.
So navigate to the Web Admin URL.
So navigate to the Web Admin URL again and log in using the credentials you just set up.
[http://127.0.0.1:8080/web/admin](http://127.0.0.1:8080/web/admin)