0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 15:24:37 +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.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
admin_auth.go
admin_auth_ldap.go
admin_auth_ldap_test.go
admin_auth_oauth.go
admin_auth_stmp.go
admin_regenerate.go
admin_user.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
cert.go
cmd.go
docs.go
doctor.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
doctor_convert.go
doctor_test.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
dump.go
dump_repo.go
embedded.go
generate.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
hook.go
hook_test.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.go
main_test.go
manager.go
manager_logging.go
migrate.go
migrate_storage.go Fix migrate storage bug (#28830) 2024-01-20 23:27:31 +08:00
migrate_storage_test.go
restore_repo.go
serv.go Fix push to create with capitalize repo name (#29090) 2024-02-08 13:25:09 +00:00
web.go
web_acme.go
web_graceful.go
web_https.go