Create initial user if User table is empty. Also make model.QueryOptions compatible with rest.QueryOptions
This commit is contained in:
@@ -38,8 +38,8 @@ $ make
|
||||
The server should start listening for requests. The default configuration is:
|
||||
|
||||
- Port: `4533`
|
||||
- User: `anyone`
|
||||
- Password: `wordpass`
|
||||
- User: `admin`
|
||||
- Password: `admin`
|
||||
|
||||
To override this or any other configuration, create a file named `sonic.toml` in the project folder.
|
||||
For all options see the [configuration.go](conf/configuration.go) file
|
||||
|
||||
Reference in New Issue
Block a user