mirror of https://github.com/tteck/Proxmox.git
Switch openssl token generation to hex to avoid special caracters issues with base64
This commit is contained in:
parent
72c000d11f
commit
5c6fbfa6f8
|
@ -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…
Reference in New Issue