mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 06:58:19 +00:00
702ef8d12f
Backport #27610 by @evantobin
Fixes #27598
In #27080, the logic for the tokens endpoints were updated to allow
admins to create and view tokens in other accounts. However, the same
functionality was not added to the DELETE endpoint. This PR makes the
DELETE endpoint function the same as the other token endpoints and adds
unit tests
Co-authored-by: Evan Tobin <me@evantob.in>
(cherry picked from commit
|
||
---|---|---|
.. | ||
action.go | ||
app.go | ||
avatar.go | ||
email.go | ||
follower.go | ||
gpg_key.go | ||
helper.go | ||
hook.go | ||
key.go | ||
repo.go | ||
settings.go | ||
star.go | ||
user.go | ||
watch.go |