htpasswd file relative to repo

This commit is contained in:
Chapuis Bertil
2015-09-07 15:32:51 +02:00
parent ff5e60135c
commit 7271b9a757

View File

@@ -7,7 +7,6 @@ import (
)
func Authorize(r *http.Request, c *Context) error {
file := filepath.Join(c.path, ".htpasswd")
htpasswd, err := NewHtpasswdFromFile(file)
if err != nil {