From d7425cda38f199e086308ae482fc029c9b114902 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 5 May 2021 08:46:16 +0200 Subject: [PATCH] Do not send password by email --- scripts/install | 6 +----- scripts/remove | 2 +- scripts/restore | 4 ---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/scripts/install b/scripts/install index b8f2f3b..f96a9f3 100644 --- a/scripts/install +++ b/scripts/install @@ -340,7 +340,7 @@ admin_panel="https://$(grep portal_domain /etc/ssowat/conf.json | cut -d'"' -f4) if [ $mypads -eq 1 ] then - Informations="You can access 2 different admin panels, for Etherpad by accessing https://$domain${path_url%/}/admin and for MyPads by accessing https://$domain${path_url%/}/mypads/?/admin." + Informations="You can access two different admin panels, for Etherpad by accessing https://$domain${path_url%/}/admin and for MyPads by accessing https://$domain${path_url%/}/mypads/?/admin." else Informations="You can access the admin panel by accessing https://$domain${path_url%/}/admin." fi @@ -349,10 +349,6 @@ ynh_print_OFF echo "$Informations You can also find a config file for Etherpad at this path /var/www/etherpad_mypads/settings.json. -Your credentials for the admin panel are: -- login : $admin -- password : $password - You can configure this app easily by using the experimental config-panel feature $admin_panel/config-panel. You can also find some specific actions for this app by using the experimental action feature $admin_panel/actions. diff --git a/scripts/remove b/scripts/remove index f7bf183..5378b48 100755 --- a/scripts/remove +++ b/scripts/remove @@ -97,7 +97,7 @@ ynh_remove_logrotate #================================================= ynh_script_progression --message="Removing Fail2Ban configuration..." --weight=7 -# Remove the dedicated fail2ban config +# Remove the dedicated Fail2Ban config ynh_remove_fail2ban_config #================================================= diff --git a/scripts/restore b/scripts/restore index e037cda..49073ed 100644 --- a/scripts/restore +++ b/scripts/restore @@ -198,10 +198,6 @@ ynh_print_OFF echo "$Informations You can also find a config file for Etherpad at this path /var/www/etherpad_mypads/settings.json. -Your credentials for the admin panel are: -- login : $admin -- password : $password - If you are facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/etherpad_mypads_ynh" > mail_to_send ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="$admin" --type=restore