mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-10 19:37:08 +02:00
Replaces the statement-wide SQL arg redaction from the previous commit, which hid every arg of property and password writes (user names, emails, scanner properties) and made troubleshooting harder. log.WithSecrets marks values on a context, log calls now pass their context to the logrus entry, and the redaction hook replaces those values in the message and fields. logSQL logs the real args again; only the encrypted password, the API v1 key and the JWT secrets are marked. |
||
|---|---|---|
| .. | ||
| auth.go | ||
| auth_test.go | ||
| claims.go | ||
| claims_test.go | ||
| first_admin.go | ||
| first_admin_test.go | ||