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

pull/2634/head
Rémi Bédard-Couture 1 year ago
parent 72c000d11f
commit 5c6fbfa6f8
  1. 2
      misc/install.func

@ -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
}
Loading…
Cancel
Save