mirror of
https://gitee.com/gitea/gitea
synced 2025-12-25 17:56:35 +08:00
Only delete secrets belonging to its owner (#24284)
This commit is contained in:
@@ -41,6 +41,8 @@ func SecretsPost(ctx *context.Context) {
|
||||
func DeleteSecret(ctx *context.Context) {
|
||||
shared.PerformSecretsDelete(
|
||||
ctx,
|
||||
0,
|
||||
ctx.Repo.Repository.ID,
|
||||
ctx.Repo.RepoLink+"/settings/secrets",
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user