From 6416f26431ac277c55c6ec5a2eb8294c41096bb4 Mon Sep 17 00:00:00 2001 From: Alexander Krantz Date: Thu, 16 Sep 2021 18:42:03 -0700 Subject: [PATCH] Add explicit struct tags Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com> --- plugins/common/auth/basic_auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/common/auth/basic_auth.go b/plugins/common/auth/basic_auth.go index eba2f5072f3f1..6f92de809cee6 100644 --- a/plugins/common/auth/basic_auth.go +++ b/plugins/common/auth/basic_auth.go @@ -6,8 +6,8 @@ import ( ) type BasicAuth struct { - Username string - Password string + Username string `toml:"username"` + Password string `toml:"password"` } func (b *BasicAuth) Verify(r *http.Request) bool {