diff --git a/web/export.go b/web/export.go index aca95342..83f5903d 100644 --- a/web/export.go +++ b/web/export.go @@ -22,7 +22,7 @@ import ( func export(c *fibre.Context) (err error) { - if c.Get("auth").(*cnf.Auth).Kind != cnf.AuthKV { + if c.Get("auth").(*cnf.Auth).Kind >= cnf.AuthSC { return fibre.NewHTTPError(401) }