diff options
author | Gusted <postmaster@gusted.xyz> | 2024-01-24 16:25:06 +0100 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2024-02-05 16:54:44 +0100 |
commit | 464ae81a36a7933c7b9cd9e38b25cb118b4926d6 (patch) | |
tree | 086694610af7bb84ef11d0e78b681b4568b4e3ff /cmd | |
parent | [GITEA] Fix typo in formatting error (diff) | |
download | forgejo-464ae81a36a7933c7b9cd9e38b25cb118b4926d6.tar.xz forgejo-464ae81a36a7933c7b9cd9e38b25cb118b4926d6.zip |
[GITEA] Refactor generation of JWT secret
- Remove non base64-ed version of JWT secret generation. Because all
occurences need the Base64 version.
(cherry picked from commit 6a6b5a31a8e38cb953fcca1c8847ea219234f10c)
(cherry picked from commit 066b8ca6b40a7342352983de35f1ca6683927426)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/generate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/generate.go b/cmd/generate.go index 4ab10da22a..806946244b 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -70,7 +70,7 @@ func runGenerateInternalToken(c *cli.Context) error { } func runGenerateLfsJwtSecret(c *cli.Context) error { - _, jwtSecretBase64, err := generate.NewJwtSecretBase64() + _, jwtSecretBase64, err := generate.NewJwtSecret() if err != nil { return err } |