0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-16 04:52:23 +01:00
gitea/services
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
..
actions
agit
asymkey
attachment
auth Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
automerge
context
convert Add merge style fast-forward-only (#28954) 2024-02-12 23:37:23 +01:00
cron Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
doctor
externalaccount
feed
forms Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
gitdiff
indexer
issue Refactor issue template parsing and fix API endpoint (#29069) 2024-02-12 05:04:10 +00:00
lfs
mailer Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
markup
migrations
mirror
notify
org
packages
pull Add merge style fast-forward-only (#28954) 2024-02-12 23:37:23 +01:00
release
repository Implement contributors graph (#27882) 2024-02-15 23:21:13 +01:00
secrets
task
uinotification
user
webhook
wiki