fix: remove unused //nolint:gosec directives on password fields
All checks were successful
check / check (push) Successful in 2m4s
All checks were successful
check / check (push) Successful in 2m4s
This commit is contained in:
parent
69c9550bb2
commit
52c85724a7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user