1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

Merge pull request #37 from YunoHost-Apps/fix_rand

Do not use openssl rand Fix #27
This commit is contained in:
yalh76 2019-04-11 11:43:51 +02:00 committed by GitHub
commit 0380eb192d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ password=$YNH_APP_ARG_PASSWORD
instance_name=$YNH_APP_ARG_NAME
registration=$YNH_APP_ARG_REGISTRATION
admin_email=$(ynh_user_get_info $admin 'mail')
secret_key=$(openssl rand -base64 32)
secret_key=$(ynh_string_random 32 | base64)
app=$YNH_APP_INSTANCE_NAME