0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-15 18:02:14 +01:00
gitea/routers/web
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344)
* Refactor jwt.StandardClaims to RegisteredClaims

go-jwt/jwt has deprecated the StandardClaims interface to use RegisteredClaims
instead. This PR migrates to use this new format.

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

* Apply suggestions from code review

Co-authored-by: Gusted <williamzijl7@hotmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
2022-01-20 22:52:56 +01:00
..
admin format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
dev
events
explore format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
feed
org format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
user format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00