0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 07:51:58 +01:00
gitea/cmd
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.go Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
admin_auth_ldap_test.go
admin_auth_ldap.go
admin_auth_oauth.go
admin_auth_stmp.go
admin_auth.go
admin_regenerate.go
admin_user_change_password.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
admin_user_create.go
admin_user_delete.go
admin_user_generate_access_token.go
admin_user_list.go
admin_user_must_change_password.go
admin_user.go
admin.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
cert.go
cmd.go
docs.go
doctor_convert.go
doctor_test.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
doctor.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
dump_repo.go
dump.go
embedded.go
generate.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
hook_test.go
hook.go
keys.go Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
mailer.go Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
main_test.go
main.go
manager_logging.go
manager.go
migrate_storage_test.go
migrate_storage.go Fix migrate storage bug (#28830) 2024-01-20 23:27:31 +08:00
migrate.go
restore_repo.go
serv.go Fix push to create with capitalize repo name (#29090) 2024-02-08 13:25:09 +00:00
web_acme.go
web_graceful.go
web_https.go
web.go