diff options
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 |
commit | 08a3acbb44b043b9bb56f9b96e91432352d06d1a (patch) | |
tree | ceb451571691d0530ff2c97a033fcc206c42d3ea /api/file.go | |
parent | f05a2c03d5dbf5b0b7d09148a37d2325012b309f (diff) | |
download | chat-08a3acbb44b043b9bb56f9b96e91432352d06d1a.tar.gz chat-08a3acbb44b043b9bb56f9b96e91432352d06d1a.tar.bz2 chat-08a3acbb44b043b9bb56f9b96e91432352d06d1a.zip |
Adding team settings to admin console
Diffstat (limited to 'api/file.go')
-rw-r--r-- | api/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file.go b/api/file.go index 69303f5f8..61d0df413 100644 --- a/api/file.go +++ b/api/file.go @@ -447,7 +447,7 @@ func getPublicLink(c *Context, w http.ResponseWriter, r *http.Request) { return } - if !utils.Cfg.TeamSettings.AllowPublicLink { + if !utils.Cfg.ImageSettings.EnablePublicLink { c.Err = model.NewAppError("getPublicLink", "Public links have been disabled", "") c.Err.StatusCode = http.StatusForbidden } |