mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-14 00:30:31 +00:00
Only delete secrets belonging to its owner (#24284)
This commit is contained in:
@@ -43,6 +43,8 @@ func SecretsPost(ctx *context.Context) {
|
||||
func SecretsDelete(ctx *context.Context) {
|
||||
shared.PerformSecretsDelete(
|
||||
ctx,
|
||||
ctx.ContextUser.ID,
|
||||
0,
|
||||
ctx.Org.OrgLink+"/settings/secrets",
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user