build: use make for building the project (#1304)

This commit is contained in:
Oleg Lobanov
2021-03-04 00:10:08 +01:00
committed by GitHub
parent 2d2c598fa6
commit 23f84642e6
23 changed files with 218 additions and 194 deletions

View File

@@ -40,7 +40,7 @@ func (a JSONAuth) Auth(r *http.Request, sto users.Store, root string) (*users.Us
// If ReCaptcha is enabled, check the code.
if a.ReCaptcha != nil && len(a.ReCaptcha.Secret) > 0 {
ok, err := a.ReCaptcha.Ok(cred.ReCaptcha) //nolint:shadow
ok, err := a.ReCaptcha.Ok(cred.ReCaptcha) //nolint:govet
if err != nil {
return nil, err