mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Only delete secrets belonging to its owner (#24284)
This commit is contained in:
@ -40,6 +40,8 @@ func SecretsPost(ctx *context.Context) {
|
||||
func SecretsDelete(ctx *context.Context) {
|
||||
shared.PerformSecretsDelete(
|
||||
ctx,
|
||||
ctx.Doer.ID,
|
||||
0,
|
||||
setting.AppSubURL+"/user/settings/secrets",
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user