diff --git a/internal/handlers/auth.go b/internal/handlers/auth.go index e13fc3b..bc44866 100644 --- a/internal/handlers/auth.go +++ b/internal/handlers/auth.go @@ -28,7 +28,7 @@ func (hdlr *Handlers) handleRegister( ) { type registerRequest struct { Nick string `json:"nick"` - Password string `json:"password"` //nolint:gosec // not a hardcoded secret + Password string `json:"password"` } var payload registerRequest @@ -134,7 +134,7 @@ func (hdlr *Handlers) handleLogin( ) { type loginRequest struct { Nick string `json:"nick"` - Password string `json:"password"` //nolint:gosec // not a hardcoded secret + Password string `json:"password"` } var payload loginRequest