1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Gotta save the admin password such that it's available when rendering the POST_INSTALL.md

This commit is contained in:
Alexandre Aubin 2023-12-27 18:53:51 +01:00
parent 46c3d36200
commit caa9e9f432

View file

@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers
admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
admin_pass=$(ynh_string_random --length=24)
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$admin_pass
secrets_peertube=$(ynh_string_random --length=24)
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube