This commit is contained in:
Henrique Dias committed 2017-08-21 07:33:16 +01:00
1 parent d53b5ef445
commit 1aa68b0dd0
4 files changed
+14 -13

No files matched your search

+1 -2
View File
@@ -17,7 +17,6 @@ import (
"github.com/hacdias/fileutils"
"github.com/mholt/caddy"
"github.com/mholt/caddy/caddyhttp/httpserver"
"github.com/spf13/viper"
)
var databases = map[string]*storm.DB{}
@@ -205,7 +204,7 @@ func Parse(c *caddy.Controller, plugin string) ([]*filemanager.FileManager, erro
}
m := &filemanager.FileManager{
NoAuth: viper.GetBool("NoAuth"),
NoAuth: noAuth,
BaseURL: "",
PrefixURL: "",
DefaultUser: u,