forked from gitea/gitea
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> |
||
---|---|---|
.. | ||
account.go | ||
account_test.go | ||
applications.go | ||
keys.go | ||
main_test.go | ||
oauth2.go | ||
profile.go | ||
security.go | ||
security_openid.go | ||
security_twofa.go | ||
security_u2f.go |