mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Save the secret as a setting
This commit is contained in:
parent
1e1c0aee72
commit
d873482487
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ source _common.sh
|
|||
source /usr/share/yunohost/helpers
|
||||
|
||||
export secret=$(ynh_string_random 24)
|
||||
ynh_app_setting_set --app=$app --key=secret --value=$secret
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
|
|
Loading…
Add table
Reference in a new issue