fix: strip BasicAuth credentials from user webhook API responses

This commit is contained in:
kolaente 2026-03-23 16:13:58 +01:00 committed by kolaente
parent 75c9b753a8
commit 6aef5aff62
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ func GetUserWebhooks(c *echo.Context) error {
for _, w := range ws {
w.Secret = ""
w.BasicAuthUser = ""
w.BasicAuthPassword = ""
if createdBy, has := users[w.CreatedByID]; has {
w.CreatedBy = createdBy
}