diff options
token: disallow multiple tokens with same name (#5820)
* api/v1: don't allow multiple tokens with same name
Fail with 422 Unprocessable Entity if the token name
already exist
ref: https://github.com/gogs/gogs/issues/5587
* Move new token error type to models/errors/token
* Remove "useless" ListAccessTokensByName function
* Add an i18n entry for token_name_exists
Diffstat (limited to 'vendor/github.com/google/go-github/github/repos_commits.go')
0 files changed, 0 insertions, 0 deletions