1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Handle password send via POST_UPGRADE.d

This commit is contained in:
Salamandar 2023-06-10 23:09:43 +02:00
parent 907a2af4bb
commit bb0139db6d
2 changed files with 3 additions and 4 deletions

View file

@ -87,9 +87,8 @@ if [ -z "$hashed_password" ] && [ test -f "${install_dir}/venv/bin/activate" ];
)
hashed_password=$(cat $install_dir/key.txt)
#REMOVEME? ynh_secure_remove --file="$install_dir/key.txt"
#REMOVEME? ynh_app_setting_set --app=$app --key=hashed_password --value=$hashed_password
ynh_send_readme_to_admin --app_message="../conf/upgrade.msg" --type="upgrade"
ynh_secure_remove --file="$install_dir/key.txt"
ynh_app_setting_set --app=$app --key=hashed_password --value=$hashed_password
fi
#=================================================