wxiaoguang
45c15387b2
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 |
3 months ago | |
---|---|---|
.. | ||
generate.go | Refactor JWT secret generating & decoding code (#29172) | 3 months ago |
generate_test.go | Refactor JWT secret generating & decoding code (#29172) | 3 months ago |