Logo
Explore Help
Sign In
tdsds.com/gitea
Watch 1
Star 1
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00
Code Releases Activity
Files
7bde2bf80945ef5d0e973e8bb7e7899b020564d7
gitea/cmd
T
History
Yarden Shoham d36ddfe26c Fix CLI allowing creation of access tokens with existing name (#26071)
We are now:
- Making sure there is no existing access token with the same name
- Making sure the given scopes are valid (we already did this before but
now we have a message)

The logic is mostly taken from
https://github.com/go-gitea/gitea/blob/a12a5f3652c339b17b187ff424a480631a3c1e1e/routers/api/v1/user/app.go#L101-L123

Closes #26044

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-07-25 23:06:11 +00:00
..
actions.go
…
admin_auth_ldap_test.go
…
admin_auth_ldap.go
…
admin_user_change_password.go
…
admin_user_create.go
…
admin_user_delete.go
…
admin_user_generate_access_token.go
Fix CLI allowing creation of access tokens with existing name (#26071)
2023-07-25 23:06:11 +00:00
admin_user_list.go
…
admin_user_must_change_password.go
…
admin_user.go
…
admin.go
…
cert.go
…
cmd.go
…
docs.go
…
doctor_convert.go
…
doctor.go
…
dump_repo.go
…
dump.go
…
embedded.go
…
generate.go
…
hook_test.go
…
hook.go
…
keys.go
…
mailer.go
…
main_test.go
…
main.go
…
manager_logging.go
…
manager.go
…
migrate_storage_test.go
…
migrate_storage.go
…
migrate.go
…
restore_repo.go
…
serv.go
…
web_acme.go
…
web_graceful.go
…
web_https.go
…
web.go
…
Powered by Gitea Version: 1.27.3 Page: 7744ms Template repo/view: 10ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API