From 034ed956a3cf9750037912493fda6587e957b247 Mon Sep 17 00:00:00 2001 From: ihipop Date: Thu, 23 Apr 2020 09:30:19 +0800 Subject: [PATCH] Bad syntax for struct tag value `authn` (#314) --- pkg/serializer/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/serializer/setting.go b/pkg/serializer/setting.go index 8a69bd2..9d8c0a0 100644 --- a/pkg/serializer/setting.go +++ b/pkg/serializer/setting.go @@ -13,7 +13,7 @@ type SiteConfig struct { DefaultTheme string `json:"defaultTheme"` HomepageViewMethod string `json:"home_view_method"` ShareViewMethod string `json:"share_view_method"` - Authn bool `json:"authn"'` + Authn bool `json:"authn"` User User `json:"user"` UseReCaptcha bool `json:"captcha_IsUseReCaptcha"` ReCaptchaKey string `json:"captcha_ReCaptchaKey"`