Added an option to specify demo user, will be created on startup if it does not exist
This commit is contained in:
@@ -11,5 +11,6 @@ func GetAppInfo(ac appcontext.AppContext) {
|
||||
ac.C.JSON(http.StatusOK, dto.AppInfo{
|
||||
RegistrationDisabled: ac.Config.DisableRegistration,
|
||||
DemoMode: ac.Config.DemoMode,
|
||||
DemoUsername: ac.Config.DemoUsername,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user