gitea/options/locale
6543 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 <6543@obermui.de>

Co-authored-by: Lanre Adelowo <yo@lanre.wtf>
2020-04-13 22:02:48 +03:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_en-US.ini Reject duplicate AccessToken names (#10994) 2020-04-13 22:02:48 +03:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2020-04-01 19:05:15 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2020-04-13 13:03:35 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2020-04-07 11:04:55 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2020-04-10 10:43:04 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2020-04-01 06:35:41 +00:00
TRANSLATORS Add @yasarciv67 to TRANSLATORS file (#8451) 2019-10-10 15:47:38 +02:00