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:
parent
46c3d36200
commit
caa9e9f432
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
|
admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
|
||||||
admin_pass=$(ynh_string_random --length=24)
|
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)
|
secrets_peertube=$(ynh_string_random --length=24)
|
||||||
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
|
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue