From c0cf2d6cfc54c3411a9f9703976ec6a5762dc924 Mon Sep 17 00:00:00 2001 From: ihipop Date: Wed, 22 Apr 2020 18:54:08 +0800 Subject: [PATCH] Bad syntax for struct tag value `authn` --- 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 8a69bd2f..9d8c0a0a 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"`