mirror of
1
Fork 0
forgejo/routers/web
Dmitrii Sharshakov 30982b9e7b feat(auth): add ability to regenerate access tokens (#6963)
- Add the ability to regenerate existing access tokens in the UI. This preserves the ID of the access token, but generates a new salt and token contents.
- Integration test added.
- Unit test added.
- Resolves #6880

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6963
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Co-committed-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-03-08 10:42:36 +00:00
..
admin Drop SSPI auth support and more Windows files (#7148) 2025-03-08 00:43:41 +00:00
auth Drop SSPI auth support and more Windows files (#7148) 2025-03-08 00:43:41 +00:00
devtest Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
events Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
explore fix: set explore pages to configurable default sort (#6708) 2025-01-31 10:38:03 +00:00
feed Add pubdate for repository rss and add some tests (#33411) 2025-02-02 12:01:29 +01:00
healthcheck Add health-check test 2024-04-06 00:34:55 +02:00
misc fix: Preview picture not visible on Markdown file (#5781) 2024-11-23 15:00:18 +00:00
org feat(ui): add quota overview (#6602) 2025-02-26 14:36:53 +00:00
repo feat: improve error handling of commit rendering (#7130) 2025-03-06 11:42:33 +00:00
shared feat(ui): add quota overview (#6602) 2025-02-26 14:36:53 +00:00
user feat(auth): add ability to regenerate access tokens (#6963) 2025-03-08 10:42:36 +00:00
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 2024-11-05 09:33:15 +01:00
githttp.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
goget.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
home.go Rewrite OpenGraph Header 2025-01-01 20:43:20 +01:00
metrics.go
nodeinfo.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
swagger_json.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
web.go feat(auth): add ability to regenerate access tokens (#6963) 2025-03-08 10:42:36 +00:00
webfinger.go Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00