mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
Only delete secrets belonging to its owner (#24284)
This commit is contained in:
parent
60e7963141
commit
b3e849d1d6
4 changed files with 8 additions and 2 deletions
|
@ -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",
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue