From a980bdac6b8a0e0fbb601e3e9313801d33f5db79 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 28 Nov 2019 17:30:59 +0000 Subject: [PATCH] Allow exporting for NS and DB users --- web/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }