Files
Gogs/conf
Frode Aannevik ffbb0f6a60 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
2019-10-15 14:09:47 -07:00
..
2016-04-03 01:56:48 +00:00
2019-01-30 21:59:10 -05:00

Execute following command in ROOT directory when anything is changed:

$ go get -u github.com/go-bindata/go-bindata/...
$ make bindata