diff --git a/go.mod b/go.mod index d4cbdc6..a4859da 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/Masterminds/goutils v1.1.1 // indirect github.com/crewjam/saml v0.4.8 - github.com/flosch/pongo2/v4 v4.0.2 + github.com/flosch/pongo2/v6 v6.0.0 github.com/gin-gonic/gin v1.8.1 github.com/go-playground/validator/v10 v10.11.1 // indirect github.com/golang-jwt/jwt/v4 v4.4.2 diff --git a/go.sum b/go.sum index b257598..2e21e68 100644 --- a/go.sum +++ b/go.sum @@ -41,6 +41,8 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/flosch/pongo2/v4 v4.0.2 h1:gv+5Pe3vaSVmiJvh/BZa82b7/00YUGm0PIyVVLop0Hw= github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8= +github.com/flosch/pongo2/v6 v6.0.0 h1:lsGru8IAzHgIAw6H2m4PCyleO58I40ow6apih0WprMU= +github.com/flosch/pongo2/v6 v6.0.0/go.mod h1:CuDpFm47R0uGGE7z13/tTlt1Y6zdxvr2RLT5LJhsHEU= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= diff --git a/http.go b/http.go index f29fc75..ad0b3a7 100644 --- a/http.go +++ b/http.go @@ -9,7 +9,7 @@ import ( intlog "log" - "github.com/flosch/pongo2/v4" + "github.com/flosch/pongo2/v6" "github.com/gin-gonic/gin" "github.com/rs/zerolog/log" "go.sebtobie.de/httpserver/auth" diff --git a/templates/templates.go b/templates/templates.go index 08f5c7a..add606e 100644 --- a/templates/templates.go +++ b/templates/templates.go @@ -9,7 +9,7 @@ import ( "net/http" "path/filepath" - "github.com/flosch/pongo2/v4" + "github.com/flosch/pongo2/v6" "github.com/gin-gonic/gin/render" "github.com/rs/zerolog/log" )