diff --git a/pkg/models/webhooks.go b/pkg/models/webhooks.go index 98975dd7b..dfd978818 100644 --- a/pkg/models/webhooks.go +++ b/pkg/models/webhooks.go @@ -234,6 +234,8 @@ func (w *Webhook) ReadAll(s *xorm.Session, a web.Auth, _ string, page int, perPa for _, webhook := range ws { webhook.Secret = "" + webhook.BasicAuthUser = "" + webhook.BasicAuthPassword = "" if createdBy, has := users[webhook.CreatedByID]; has { webhook.CreatedBy = createdBy }