forked from NYANDEV/forgejo
ad5c43ae5d
* make sure duplicate token names cannot be used * add check to api routes too * add @lunny s suggestion * fix & don't forget User.ID * AccessTokenByNameExists() return error too * unique token for each test * fix lint Signed-off-by: 6543 <6543@obermui.de> Co-authored-by: Lanre Adelowo <yo@lanre.wtf> |
||
---|---|---|
.. | ||
admin | ||
api/v1 | ||
dev | ||
org | ||
private | ||
repo | ||
routes | ||
user | ||
utils | ||
home.go | ||
init.go | ||
install.go | ||
metrics.go | ||
swagger_json.go |