fix: suppress gosec G117 on auth form signal structs
This commit is contained in:
@@ -15,12 +15,12 @@ import (
|
|||||||
|
|
||||||
type LoginSignals struct {
|
type LoginSignals struct {
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"` //nolint:gosec // form input, not stored
|
||||||
}
|
}
|
||||||
|
|
||||||
type RegisterSignals struct {
|
type RegisterSignals struct {
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"` //nolint:gosec // form input, not stored
|
||||||
Confirm string `json:"confirm"`
|
Confirm string `json:"confirm"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user