diff --git a/httpd/internal_test.go b/httpd/internal_test.go index 9e7d5628..e7fc1b3a 100644 --- a/httpd/internal_test.go +++ b/httpd/internal_test.go @@ -3,10 +3,10 @@ package httpd import ( "context" "fmt" + "html/template" "net/http" "net/http/httptest" "testing" - "text/template" "github.com/drakkan/sftpgo/dataprovider" "github.com/go-chi/chi" diff --git a/httpd/web.go b/httpd/web.go index cea9a4b9..2bc0be9b 100644 --- a/httpd/web.go +++ b/httpd/web.go @@ -2,11 +2,11 @@ package httpd import ( "fmt" + "html/template" "net/http" "path/filepath" "strconv" "strings" - "text/template" "github.com/drakkan/sftpgo/dataprovider" "github.com/drakkan/sftpgo/sftpd" diff --git a/templates/user.html b/templates/user.html index 3f19b7ce..39d61ebb 100644 --- a/templates/user.html +++ b/templates/user.html @@ -48,7 +48,7 @@
- {{range $validPerm := .ValidPerms}}