forked from Gitlink/gitea-1156
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> |
||
---|---|---|
.. | ||
setting | ||
auth.go | ||
auth_openid.go | ||
avatar.go | ||
home.go | ||
home_test.go | ||
main_test.go | ||
notification.go | ||
oauth.go | ||
profile.go |