fix some bugs and add stuff to config

This commit is contained in:
Henrique Dias
2016-08-21 20:25:40 +01:00
parent 8d0214f74a
commit 408fa2e86f
3 changed files with 7 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err
}
if r.Method != http.MethodPost && !serveAssets {
fi, code, err = directory.GetInfo(r.URL, c)
fi, code, err = directory.GetInfo(r.URL, c, user)
if err != nil {
if r.Method == http.MethodGet {
return errors.PrintHTML(w, code, err)