From 52c85724a7bf2af532503de0a89074070df69ff8 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Feb 2026 10:33:59 -0800 Subject: [PATCH] fix: remove unused //nolint:gosec directives on password fields --- internal/handlers/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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