1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 17:24:43 +00:00
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172)
Old code is not consistent for generating & decoding the JWT secrets.

Now, the callers only need to use 2 consistent functions:
NewJwtSecretWithBase64 and DecodeJwtSecretBase64

And remove a non-common function Base64FixedDecode from util.go
2024-02-16 15:18:30 +00:00
..
2023-07-04 18:36:08 +00:00
2023-07-04 18:36:08 +00:00
2024-01-19 11:37:10 +00:00
2023-05-08 19:49:59 +08:00
2023-09-16 16:03:02 +00:00