forgejo/cmd
mscherer 95c8d53d28
Add a "admin user generate-access-token" subcommand (#17722)
* Add a "admin user generate-access-token" subcommand

Fixes #17721

* Update cmd/admin.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

* Update cmd/admin.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

* Fix code to match new interfaces

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-03-04 19:53:35 +00:00
..
admin.go Add a "admin user generate-access-token" subcommand (#17722) 2022-03-04 19:53:35 +00:00
admin_auth_ldap.go Add LDAP group sync to Teams, fixes #1395 (#16299) 2022-02-11 22:24:58 +08:00
admin_auth_ldap_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cert.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cmd.go
convert.go
docs.go
doctor.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dump.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dump_repo.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
embedded.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
embedded_stub.go
generate.go
hook.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
hook_test.go
keys.go
mailer.go
manager.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
migrate.go
migrate_storage.go
restore_repo.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
serv.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
web.go Support custom ACME provider (#18340) 2022-02-08 13:45:35 +08:00
web_acme.go Support custom ACME provider (#18340) 2022-02-08 13:45:35 +08:00
web_graceful.go
web_https.go