Files
Gitea/routers/user/setting
ad5c43ae5d Reject duplicate AccessToken names (#10994)
* 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 <[email protected]>

Co-authored-by: Lanre Adelowo <[email protected]>
2020-04-13 22:02:48 +03:00
..
2019-04-17 16:18:16 +08:00
2019-06-12 15:41:28 -04:00