Skip to content

Commit

Permalink
Add explicit struct tags
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Spaink <[email protected]>
  • Loading branch information
akrantz01 and sspaink authored Sep 17, 2021
1 parent f8f2cad commit 6416f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/common/auth/basic_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6416f26

Please sign in to comment.