diff --git a/pkg/config/config.go b/pkg/config/config.go index 0b2468224..803e93800 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -835,7 +835,7 @@ func (c *baseConfig) Validate(fsys fs.FS) error { // Validate email config for name, tmpl := range c.Auth.Email.Template { if len(tmpl.ContentPath) > 0 { - if _, err = fs.Stat(fsys, filepath.Clean(tmpl.ContentPath)); err != nil { + if _, err = fs.Stat(fsys, tmpl.ContentPath); err != nil { return errors.Errorf("Invalid config for auth.email.%s.content_path: %s", name, tmpl.ContentPath) } }