mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-02 03:46:07 +01:00
We are now:
- Making sure there is no existing access token with the same name
- Making sure the given scopes are valid (we already did this before but
now we have a message)
The logic is mostly taken from
a12a5f3652/routers/api/v1/user/app.go (L101-L123)
Closes #26044
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2.0 KiB
2.0 KiB