diff --git a/conf/.env.example b/conf/.env.example index 3ea19df..7241731 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -33,7 +33,7 @@ database.default.DBPrefix="cp_" #-------------------------------------------------------------------- # Email configuration #-------------------------------------------------------------------- -email.fromEmail="__APP__@__DOMAIN__" +email.fromEmail="__EMAIL__" email.fromName="Castopod" email.SMTPHost="localhost" email.SMTPPort="25" diff --git a/scripts/_common.sh b/scripts/_common.sh index d847bb9..f89158a 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,8 @@ # COMMON VARIABLES #================================================= +email=$(ynh_user_get_info --username=$admin --key=mail) + #================================================= # PERSONAL HELPERS #=================================================