Switch openssl token generation to hex to avoid special caracters issues with base64

This commit is contained in:
Rémi Bédard-Couture 2024-03-09 14:50:10 -05:00
parent 72c000d11f
commit 5c6fbfa6f8
1 changed files with 1 additions and 1 deletions

View File

@ -209,5 +209,5 @@ generate_token() {
#For some reason, the /dev/urandom approach does not work inside an install script
#tr -dc A-Za-z0-9 </dev/urandom | head -c$token_len
openssl rand -base64 $token_len
openssl rand -hex $token_len
}