summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-22 01:15:41 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-22 01:15:41 -0700
commit08a3acbb44b043b9bb56f9b96e91432352d06d1a (patch)
treeceb451571691d0530ff2c97a033fcc206c42d3ea /model/config.go
parentf05a2c03d5dbf5b0b7d09148a37d2325012b309f (diff)
downloadchat-08a3acbb44b043b9bb56f9b96e91432352d06d1a.tar.gz
chat-08a3acbb44b043b9bb56f9b96e91432352d06d1a.tar.bz2
chat-08a3acbb44b043b9bb56f9b96e91432352d06d1a.zip
Adding team settings to admin console
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/model/config.go b/model/config.go
index 3da068d8d..876c36e98 100644
--- a/model/config.go
+++ b/model/config.go
@@ -20,7 +20,6 @@ const (
)
type ServiceSettings struct {
- SiteName string
Mode string
AllowTesting bool
UseSSL bool
@@ -68,6 +67,7 @@ type LogSettings struct {
type ImageSettings struct {
DriverName string
Directory string
+ EnablePublicLink bool
ThumbnailWidth uint
ThumbnailHeight uint
PreviewWidth uint
@@ -113,12 +113,11 @@ type PrivacySettings struct {
}
type TeamSettings struct {
+ SiteName string
MaxUsersPerTeam int
- AllowPublicLink bool
- AllowValetDefault bool
- TourLink string
DefaultThemeColor string
- DisableTeamCreation bool
+ EnableTeamCreation bool
+ EnableUserCreation bool
RestrictCreationToDomains string
}