1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-11 15:24:37 +08:00
Files
gitea/modules/generate
wxiaoguang 45c15387b2 Refactor JWT secret generating & decoding code ()
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
..