diff options
Diffstat (limited to 'modules/generate/generate.go')
-rw-r--r-- | modules/generate/generate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generate/generate.go b/modules/generate/generate.go index ae9aeee18b..326fe8036b 100644 --- a/modules/generate/generate.go +++ b/modules/generate/generate.go @@ -60,7 +60,7 @@ func NewJwtSecretBase64() (string, error) { // NewSecretKey generate a new value intended to be used by SECRET_KEY. func NewSecretKey() (string, error) { - secretKey, err := util.RandomString(64) + secretKey, err := util.CryptoRandomString(64) if err != nil { return "", err } |